R/at.R
standardize_at.Rd
Modify dataframe-columns to standardize them by a constant denominator.
standardize_at(x, .at, denominator)
x | Dataframe. |
---|---|
.at | A character vector of names, positive numeric vector of
positions to include, or a negative numeric vector of positions to
exlude. Only those elements corresponding to |
denominator | A numeric vector of length 1. |
A data.frame.
Other general functions to perform common transforms: convert_unit
#> a b #> 1 0.01 11 #> 2 0.02 12 #> 3 0.03 13#> a b #> 1 0.01 0.11 #> 2 0.02 0.12 #> 3 0.03 0.13