from0to100 | R Documentation |
This function takes any vector and rescales it in a linear way so that the new range is 0 to 100. Useful specially when creating indicators
from0to100(x)
x |
numeric vector to rescale to 0-100 |
numeric vector in a 0-100 scale
Gabriel N. Camargo-Toledo gcamargo@sensata.io
x <- c(1,2,3,1,3,2,4,5,4,3,2,5,4,3,2,1,4,5)
from0to100(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.