norm01 | R Documentation |
Normalize a vector to [0,1]
norm01(x)
x |
a vector to normalize |
(x-min(x))/(max(x)-min(x))
x <- 1:10 norm01(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.