Description Usage Arguments Author(s) References
An efficient function for row scaling using matrixStats, see reference for origin.
1 2 3 4 5 6 7 8 |
x |
input matrix |
center |
logical, whether to center |
scale |
logical, whether to scale |
add_attr |
logical, whether to add scale/center the attributes |
rows |
rows to subset for |
cols |
cols to subset for |
Alexander Toenges
A Faster Scale Function (2016) https://www.r-bloggers.com/a-faster-scale-function/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.