View source: R/expression_funks.R
normalizeVector | R Documentation |
x
to length 1.0.Normalizes the vector x
to length 1.0.
normalizeVector(x)
numeric |
vector |
x / euclNorm(x)
or NaN
if
hasInvalidVecSpaceComponents(x)
is TRUE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.