Stratify a raster Stack into the best fitting classes
Random_Stratified_Min_Dist.Rd
Stratify a raster Stack into the best fitting classes
Usage
Random_Stratified_Min_Dist(
ClassRaster = NULL,
MinDist = NULL,
BorderDist = NULL,
n = NULL,
n_to_test = 100
)
Arguments
- ClassRaster
a raster with the classes of your site as integers.
- MinDist
Minimum distance of a random point to the sampling points and cells with other classes.
- BorderDist
Minumum distance of a random point to the border of its class, if NULL if reverst to MinDist.
- n
Number of points per class can be one number or a vector specifying de number per class.
- n_to_test
Number of points to test for the minimum distance.