Learn R Programming

sparsebnUtils (version 0.0.8)

sparse: sparse class

Description

Low-level representation of sparse matrices.

Usage

sparse(x, ...)

is.sparse(x)

Arguments

x

Various R objects.

...

(optional) additional arguments.

Details

An alternative data structure for storing sparse matrices in R using the (row, column, value) format. Internally it is stored as a list with three components, each vectors, that contain the rows / columns / values of the nonzero elements.