Description Usage Arguments Examples
Normalize a set of vectors contained in a matrix, the vectors are the rows of the matrix. A simple vector is possible using the metric space (R^n,Sigma)
1 | normalize(x)
|
x |
The vector to normalize |
1 2 3 4 5 6 | ## Normalize a matrix
# z <- matrix(rnorm(100, 10, 3), nrow=4)
# normalize(z)
## Normalize a vector
# y <- rnorm(20, 5, 2)
# normalize(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.