Description Usage Arguments Value
View source: R/scaleContinuous.R
Standardizes (centers and scales) continuous variable in a dataset, leaving discrete variables untouched.
1 | scaleContinuous(data, discrete, sdx = 1)
|
data |
A data frame or matrix of variables to be scaled. |
discrete |
Either a logical vector which is |
sdx |
The standard deviation of the columns for the continuous variables. |
A data frame with the same dimensions as data
where the continuous variables are centered and scaled.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.