sp_means_Rcpp | R Documentation |
Calculate column-wise or row-wise mean
sp_means_Rcpp(sp_data, rowMeans = FALSE)
sp_data |
A sparse matrix |
rowMeans |
A boolean value, whether to calculate row-wise mean |
A n x 1 or p x 1 matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.