powered by
Normalizes values of a vector such that the sum of squared elements equal to \(r^2\).
normalizeRsphere(x, r = 1)
It returns a data frame with normalized values.
A vector or a matrix with values to be normalized.
The diameter of a sphere, default 1.
Marjan Cugmas
normalizeRsphere(x = c(1, 0.5, 0.4))
Run the code above in your browser using DataLab