normalize | R Documentation |
function that normalizes a vector in the L2 norm
normalize(a, norm = 2)
a |
the original vector |
norm |
specify L^n norm |
the normalized vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.