prob.subset: Subset probabilities above a threshold
Description
This function subsets out probabilities assigned to planning units above a threshold. It effectively sets the probability
that species inhabit planning units to zero if they are below the threshold.
Usage
prob.subset(x, species, threshold)
# S3 method for RapData
prob.subset(x, species, threshold)
# S3 method for RapUnsolOrSol
prob.subset(x, species, threshold)
Arguments
x
RapData, RapUnsolved, or RapSolved object.
species
integer vector to specify the index of the species to apply threshold to
threshold
numeric probability to use a threshold.
Value
RapData or RapUnsolved object depending on input object.