R/urap.proportion.held.R
urap.proportion.held.Rd
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 unreliable formulation.
urap.proportion.held(x, y, y.weights = rep(1, nrow(y)))
x 


y 

y.weights 

numeric
value indicating the proportion of variation that
x
explains in y
#> [1] 0.5217391