Description Usage Arguments Value Examples
View source: R/sbpiper_plots.r
Normalise a vector within 0 and 1
1 | normalise_vec(vec, na.rm = TRUE)
|
vec |
the vector to normalise |
na.rm |
TRUE if NA values should be discarded |
the normalised vector
1 2 | v <- c(-4,2,10,25,9,NA)
normalise_vec(vec=v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.