View source: R/rrap.proportion.held.R
| rrap.proportion.held | R Documentation | 
This 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))
)
| pu.coordinates | 
 | 
| pu.probabilities | 
 | 
| dp.coordinates | 
 | 
| dp.weights | 
 | 
| failure.distance | 
 | 
| maximum.r.level | 
 | 
numeric value indicating the proportion of variation that the
demand points explain in the planning units
## Not run: 
rrap.proportion.held(as.matrix(iris[1:2,-5]), runif(1:2),
                     as.matrix(iris[1:5,-5]), runif(1:5), 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.