Rescale a vector relative to the maximal absolute value in the vector

Share:

Description

Rescale a vector relative to the maximal absolute value in the vector

Usage

1
proportion(x, na.rm = FALSE)

Arguments

x

a numeric vector

na.rm

a logical indicating whether missing values should be removed

Examples

1

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.