Coerces an object from classes in the Matrix package to the base matrix class.
Matrix
coerceMatrix(data)
data
The data, usually expected to be a data.frame or matrix, to be coerced to a matrix object if formatted as dgCMatrix or dgeMatrix.
data.frame
matrix
dgCMatrix
dgeMatrix
A coerced matrix object.