View source: R/determine.random.R
determine.random | R Documentation |
determine number of random locations needed to represent true mean of landscape variables
determine.random(
rasterstack,
poly,
pts,
increase.type,
increment,
number.iterations,
seqmin,
seqmax,
inc.ratio,
out.dir
)
rasterstack |
name of raster or raster stack object to evaluate |
poly |
spatialpolygonsdataframe to sample random locations from |
pts |
spatialpointsdataframe of used locations |
increase.type |
whether to increase proportionally (i.e., percentage) or numerically (i.e., integers) |
increment |
if increase.type prop a proportion in decimal format (e.g., for 10 percent 0.10) if increase type number indicate number of points to increase at each iteration |
number.iterations |
number of incremental steps to run through |
seqmin |
if increase.type number, indicate the minimum number of random locations to test |
seqmax |
if increase.type number, indicate the maximum number of random locations to test |
inc.ratio |
Logical. TRUE If you desire the number of random points to be greater than the total number of used points, otherwise FALSE |
out.dir |
path to folder where plot should be saved |
Returns a data.frame with the summarized values, and saves a pdf of plots to out.dir named RandomPoints
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.