determine.random: determine.random

View source: R/determine.random.R

determine.randomR Documentation

determine.random

Description

determine number of random locations needed to represent true mean of landscape variables

Usage

determine.random(
  rasterstack,
  poly,
  pts,
  increase.type,
  increment,
  number.iterations,
  seqmin,
  seqmax,
  inc.ratio,
  out.dir
)

Arguments

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

Value

Returns a data.frame with the summarized values, and saves a pdf of plots to out.dir named RandomPoints


khuggler/Ovis documentation built on Nov. 30, 2023, 7:41 p.m.