l2_normalize | R Documentation |
L2 normalize an input vector x to a length of 1
l2_normalize(x)
x |
a numeric vector |
a vector of length length(x) with a magnitude of 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.