R/rrap.proportion.held.R
rrap.proportion.held.RdThis is a convenience function to quickly calculate the proportion of variation that one set of points captures in a another set of points using the reliable formulation.
rrap.proportion.held(
pu.coordinates,
pu.probabilities,
dp.coordinates,
dp.weights,
failure.distance,
maximum.r.level = as.integer(length(pu.probabilities))
)base::matrix() of planning unit
coordinates.
numeric vector of planning unit probabilities.
base::matrix() of demand point coordinates.
numeric vector of demand point weights.
numeric indicating the cost of the failure
planning unit.
integer maximum failure (R) level to use for
calculations.
numeric value indicating the proportion of variation that the
demand points explain in the planning units