Package: sgsR 1.5.0

sgsR: Structurally Guided Sampling

Structurally guided sampling (SGS) approaches for airborne laser scanning (ALS; LIDAR). Primary functions provide means to generate data-driven stratifications & methods for allocating samples. Intermediate functions for calculating and extracting important information about input covariates and samples are also included. Processing outcomes are intended to help forest and environmental management practitioners better optimize field sample placement as well as assess and augment existing sample networks in the context of data distributions and conditions. ALS data is the primary intended use case, however any rasterized remote sensing data can be used, enabling data-driven stratifications and sampling approaches.

Authors:Tristan RH Goodbody [aut, cre, cph], Nicholas C Coops [aut], Martin Queinnec [aut]

sgsR_1.5.0.tar.gz
sgsR_1.5.0.zip(r-4.7)sgsR_1.5.0.zip(r-4.6)sgsR_1.5.0.zip(r-4.5)
sgsR_1.5.0.tgz(r-4.6-any)sgsR_1.5.0.tgz(r-4.5-any)
sgsR_1.5.0.tar.gz(r-4.7-any)sgsR_1.5.0.tar.gz(r-4.6-any)
sgsR_1.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
sgsR/json (API)
NEWS

# Install 'sgsR' in R:
install.packages('sgsR', repos = c('https://tgoodbody.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tgoodbody/sgsr/issues

Pkgdown/docs site:https://tgoodbody.github.io

On CRAN:

Conda:

7.30 score 48 stars 42 scripts 359 downloads 45 exports 59 dependencies

Last updated from:be8855e75e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK217
source / vignettesOK346
linux-release-x86_64OK209
macos-release-arm64OK232
macos-oldrel-arm64OK226
windows-develOK175
windows-releaseOK161
windows-oldrelOK186
wasm-releaseOK131

Exports:ahels_nSampahels_thresholdallocate_equalallocate_existingallocate_existing_equalallocate_existing_manualallocate_existing_optimallocate_existing_propallocate_forceallocate_manualallocate_optimallocate_propcalculate_allocationcalculate_coobscalculate_distancecalculate_lhsOptcalculate_pcompcalculate_popcalculate_representationcalculate_sampsizeclassPlotextract_metricsextract_stratamask_accessmask_existingmat_covmat_covNBmat_quantplot_scattersample_ahelssample_balancedsample_clhssample_existingsample_ncsample_srssample_stratsample_sys_stratsample_systematicstrat_breaksstrat_kmeansstrat_mapstrat_polystrat_quantilesstrat_rule1strat_rule2

Dependencies:BalancedSamplingclassclassIntclhscliclustercpp11DBIdeldirdplyre1071farvergenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixpillarpkgconfigplyrpolyclipproxypurrrR6rasterRColorBrewerRcppRcppArmadilloreshape2rlangs2S7SamplingBigDatascalessfspspatstat.dataspatstat.geomspatstat.univarspatstat.utilsstringistringrterratibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk

Calculating

Rendered fromcalculating.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2023-06-09
Started: 2022-01-27

Sampling

Rendered fromsampling.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2025-06-18
Started: 2022-01-27

sgsR

Rendered fromsgsR.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2023-02-08
Started: 2022-01-27

Stratification

Rendered fromstratification.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2023-02-08
Started: 2022-01-27