Description Usage Arguments Details Value Examples
Standardises the columns of a numeric matrix x
(similar to R-function scale
).
If x
is a vector, it is treated as a 1-column matrix.
1 | standardise(x, scale = TRUE)
|
x |
A numeric matrix (or vector). |
scale |
A logical; if |
This function is much faster than scale
.
Matrix with centred (and optionally scaled) columns.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.