View source: R/general_tools.R
normalize | R Documentation |
Normalize vector so that the data has a range from 0 to 1
normalize(x, na.rm = TRUE)
x |
a numeric vector |
the normalized vector and the sum of the original vector as attribute (to back-transform later)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.