normalize | R Documentation |
Normalize a vector by subtracting off central point and dividing by range
normalize(vec, shift = NULL, lower = NULL, upper = NULL)
vec |
vector of values |
shift |
optional central point (if not provided, uses the mean of |
lower |
optional lower end point of range (if not provided uses min of |
upper |
optional upper end point of range (if not provided uses max of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.