proportion {formattable} | 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)