View source: R/general_functions.R
normalise | R Documentation |
normalises a vector so that it sums to 1
normalise(vec)
vec |
numeric vector to be normalised |
normalised vector of same length as vec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.