vnorm | R Documentation |
Norm a vector to unit length.
vnorm(x)
x |
An n by 1 vector. |
the scaled (i.e., unit length) input vector
Niels Waller
x <- rnorm(5)
v <- vnorm(x)
print(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.