Learn R Programming

sharpshootR (version 2.3)

samplingStability: Estimate Sampling Stability

Description

Stability is defined as the width of the 5th-95th percentile range, over n.reps replications of median estimates associated with sampling events. The resulting width is scaled by the population median and returned as a fraction.

Usage

samplingStability(
  mu,
  r,
  n.set = c(0.01, 0.1, 0.5, 1, 2),
  n.reps = 10,
  p.id = "pID"
)

Value

data.frame with median stability values as percentage of population median, range: [0,1]

Arguments

mu

map unit polygons, must have polygon ID, must be in CRS with units of meters

r

SpatRaster

n.set

set of sampling density values to try

n.reps

number of replications

p.id

polygon ID column name

Author

D.E. Beaudette