Description Usage Arguments Details Value
A function to center (subtract mean) and/or scale (divide by standard deviation) data column-wise in a computationally efficient way.
1 |
x |
The input matrix. |
center, scale |
Logical; determine if the data should be centered and/or scaled. |
Unlike its R counterpart scale()
, the arguments
center
and scale
can only be logical values
(and not vectors).
The centered/scaled data, with attributes as in R's scale()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.