R/generics.R
, R/RapData.R
, R/RapSolved.R
prob.subset.Rd
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.
prob.subset(x, species, threshold)
# S3 method for RapData
prob.subset(x, species, threshold)
# S3 method for RapUnsolOrSol
prob.subset(x, species, threshold)
RapData()
, RapUnsolved()
, or
RapSolved()
object.
integer
vector specifying the index of the species to
which the threshold should be applied.
numeric
probability to use a threshold.
RapData()
or RapUnsolved()
object depending
on input object.