Description Usage Arguments Value
Avoid the following error . Error in asMethod(object) : . Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, . by slicing the matrix into submatrices, converting and cbinding them . Increases number of slices until they succeed.
1 | utils_big_as.matrix(sparseMat, n_slices_init = 1, verbose = T)
|
sparseMat |
a big sparse matrix of a type coercible to dense Matrix::Matrix |
n_slices_init |
initial number of slices. Default value 1, i.e. whole matrix |
verbose |
print progress |
a dense matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.