vecUnitize | R Documentation |
Normalize a vector to have unit length
vecUnitize(xx)
xx |
vector |
normalized vector of unit length
xx <- c(0.5, 0.1, 0.6, 0.9)
vecUnitize(xx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.