Description Usage Arguments Value
View source: R/general_functions.R
normalises a vector so that it sums to 1
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.