Learn R Programming

bdsmatrix (version 1.3-7)

as.matrix.bdsmatrix: Convert a bdsmatrix to a ordinary (dense) matrix

Description

Method to convert from a Block Diagonal Sparse (bdsmatrix) matrix representation to an ordinary one

Usage

# S3 method for bdsmatrix
as.matrix(x, ...)

Value

a matrix

Arguments

x

a bdsmatrix object

...

other arguments are ignored (necessary to match the as.matrix template)

Details

Note that the conversion of a large bdsmatrix can easily exceed memory.

See Also

bdsmatrix