Description Usage Arguments Value Examples
an improvement of the base R scale function. Unlike R's standard scale function, this allows for factor columns or character columns to be present in the data, and will simply leave those untouched without throwing an error.
1 |
data |
a data frame or vector |
wts |
weights for each row. optional and defaults to NULL. |
center |
should the data be centered? Defaults to TRUE. |
scale |
should the data be scaled? Defaults to TRUE. |
A data frame
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.