Centers and scales the matrix and returns mean and sd vectors.
1 | center_and_scale(x, scale_var = FALSE)
|
x |
Matrix, the training data set with samples in rows. |
scale_var |
Logical, should the variance be scaled? Default is FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.