Description Usage Arguments Value Author(s)
Centering and scaling vectors or matrices
1 2 | center_scale(X, idc = "all", center = T, scale = c("None", "UV",
"Pareto"))
|
X |
Data to be scaled, can be a vector or a matrix with observations in rows variables in columns. |
idc |
Indices of samples in X used to derive center/scale parameters (relevant for statistical validation procedures, e.g., scaling X with training set samples). If set to |
center |
Logical indicating if data should be mean centered. |
scale |
Scaling method that should be applied: none, unit variance (UV) or pareto scaling. |
Centred/scaled data of the same dimensions than input.
Torben Kimhofer tkimhofer@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.