proportion | R Documentation |
Rescale a vector relative to the maximal absolute value in the vector
proportion(x, na.rm = FALSE)
x |
a numeric vector |
na.rm |
a logical indicating whether missing values should be removed |
proportion(mtcars$mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.