Description Usage Arguments Value Examples
This function is a fast way to scale rows of a matrix
1 2 |
x |
numeric matrix |
center |
Should the rows be centered |
scale |
Should the rows be scaled |
add_attr |
Add the center/scale attributes |
rows |
A vector indicating subset of rows to operate over.
If |
cols |
A vector indicating subset of columns to operate over.
If |
na.rm |
If |
... |
Arguments to pass to |
Matrix of centered/scaled values
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.