scale_count: Transforms integer and integerlike columns using log
scale_log: Transforms numeric columns using log
scale_normal: Transforms numeric columns using mean centering and dividing by standard deviation
scale_standard: Transforms numeric columns onto 0-1 scales with 0 and 1 set empirically
scale_sqrt: Transforms numeric columns using sqrt
scale_count(x) scale_log(x) scale_normal(x) scale_standard(x) scale_sqrt(x)
x | Input data frame containing numeric columns. |
---|
A data frame with the same dimensions but with the numeric/relevant variables transformed.
Scale transformations are applied only to numeric (or in the
case of scale_count
only integer or integerish) columns
that are not named "id"
or "(\.|_)?id"
.