View source: R/MatrixLazyEval_convenience.R
CenterLazily | R Documentation |
Center rows or columns.
CenterLazily(M, do_rows = T)
M |
Any matrix with a multiplication operator and nrow/ncol methods defined. Usually from the Matrix package. |
do_rows |
If true, the rows are centered so every row has mean 0. If false, the columns are centered so every column has mean 0. This method is LAZY – calculations are put off until later, not triggered by calling this function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.