normalizeRsphere {nemBM} | R Documentation |
Normalizes values of a vector such that the sum of squared elements equal to r^2
.
normalizeRsphere(x, r = 1)
x |
A vector or a matrix with values to be normalized. |
r |
The diameter of a sphere, default 1. |
It returns a data frame with normalized values.
Marjan Cugmas
normalizeRsphere(x = c(1, 0.5, 0.4))