Iterate over multiple sampling methods and sample sizes
monte_carlo.RdIterate over multiple sampling methods and sample sizes
Arguments
- data
an
sfof type POINT- metrics
a vector of character strings that match desired column names in
data- nSamp
a numeric scalar greater than 0 and less than the number of rows in
data- iter
a numeric scalar greater than 0
- method
The method to use for sampling. Can be
"clhs"for Latin Hypercube Sampling,"balanced"else for Balanced Sampling,"srs"for Simple Random Sampling, or"strat"for stratified sampling. Ifmethod = "strat",datamust have an attribute namedstrata- cores
Number of cores to use for parallel computation
- ...
parameters to pass to sgsR::sample_ahelssample_ahels