View source: R/data_functions.R
matScale | R Documentation |
Apply FUN ('scale' by default) to the rows or columns of a numeric matrix.
matScale(data, rows = FALSE, cols = FALSE, FUN = scale, ...)
data |
Matrix or data.frame |
rows |
Scale rows (TRUE/FALSE) |
cols |
Scale columns (TRUE/FALSE) |
FUN |
Function used for scaling |
... |
matScale(rmat(5, 5), rows = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.