convertSparse: S4 sparse matrix to arma::sp_mat

Description Usage Arguments Value Source

View source: R/RcppExports.R

Description

Convert an S4 sparse matrix from the Matrix package to an arma sp_mat.

Usage

1

Arguments

mat

S4 sparse matrix from the Matrix

Value

an arma::sp_mat object

Source

http://gallery.rcpp.org/articles/armadillo-sparse-matrix/


diffuStats documentation built on Feb. 22, 2021, 10 a.m.