Description Usage Arguments Value See Also Examples
Modify dataframe-columns to standardize them by a constant denominator.
1 | 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
1 2 3 | dfm <- data.frame(a = 1:3, b = 11:13)
standardize_at(dfm, "a", denominator = 100)
standardize_at(dfm, names(dfm), denominator = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.