sp_nz_count_Rcpp | R Documentation |
Count column-wise or row-wise non-zero elements of sparse matrix
sp_nz_count_Rcpp(sp_data, rowNZ = FALSE)
sp_data |
A sparse matrix |
rowNZ |
A boolean value, whether to count row-wise non-zero elements |
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.