vector.normalise | R Documentation |
Normalise a vector
vector.normalise(v, q = 2, na.rm = FALSE)
v |
a vector of real numbers |
q |
a nonnegative real number or Inf |
na.rm |
boolean, whether to remove NA before calculation |
normalised version of this vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.