View source: R/sub_functions.R
as_matrix | R Documentation |
Avoid the following error . Error in asMethod(object) : . Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, the code comes from https://xuzhougeng.top/archives/R-Sparse-Matrix-Note
as_matrix(mat)
mat |
a big sparse matrix of a type coercible to dense Matrix::Matrix |
a matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.