Spatially Balanced Sampling Algorithms
Balanced Acceptance Sampling (BAS).
Create a bounding box for a study region.
Check if the sf object contains a specified feature.
Generate numbers from a Halton Sequence.
Generate numbers from a Halton Sequence along a specified set of indic...
Generate numbers from a Halton Sequence with a random start
Filter sample using a minimum distance.
Randomly generates a point in the study region and maps it to the Halt...
Get a randomly chosen Halton point from within the study area and the ...
Randomly generates a point in the study region and maps it to the Halt...
Generate a vector of two random seeds.
Generate the BAS sample.
Manage BAS sampling.
Obtain a Halton Frame over a shapefile.
Generate a Halton frame.
Extract all points with a specified panel id from a sample.
Extract a sample of a specified size from a master sample.
Create a Halton Frame.
Generate a Halton Frame.
Halton Iterative Partitioning (HIP).
Permute Halton indices.
Partition the population.
First dimension split.
Second dimension split.
Check if an object is an sf points object.
Compute the log of a to base b.
Vector modulus.
Assign panel ids to the samples.
Remove duplicate values from a NumericVector.
Generate a rotation matrix for rotating objects later.
Scale and rotate points from the unit square to a defined projection.
Finds a set of Halton indices that will create BAS points within a sha...
Simple random sampling.
Validate spbal function parameters.
Validate the panels and panel_overlap parameters.
Encapsulates a number of spatially balanced sampling algorithms, namely, Balanced Acceptance Sampling (equal, unequal, seed point, panels), Halton frames (for discretizing a continuous resource), Halton Iterative Partitioning (equal probability) and Simple Random Sampling. Robertson, B. L., Brown, J. A., McDonald, T. and Jaksons, P. (2013) <doi:10.1111/biom.12059>. Robertson, B. L., McDonald, T., Price, C. J. and Brown, J. A. (2017) <doi:10.1016/j.spl.2017.05.004>. Robertson, B. L., McDonald, T., Price, C. J. and Brown, J. A. (2018) <doi:10.1007/s10651-018-0406-6>. Robertson, B. L., van Dam-Bates, P. and Gansell, O. (2021a) <doi:10.1007/s10651-020-00481-1>. Robertson, B. L., Davies, P., Gansell, O., van Dam-Bates, P., McDonald, T. (2025) <doi:10.1111/anzs.12435>.