View source: R/normalize_data.R
normalize_data | R Documentation |
This function rescales a vector to values between 0 and 1.
normalize_data(vec)
vec |
A numerical vector to normalize. |
A vector of doubles, the normalized values of the input vector.
Marina Papadopoulou m.papadopoulou.rug@gmail.com
d <- rnorm(20, mean = 10, sd = 1)
normalize_data(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.