Integer vector specifying the size of the dimensions.
dimnames
either NULL or the names for the dimensions.
This is a list
with one component for each dimension, either NULL or a
character vector of the length given by dim for that
dimension. The list can be named, and the list names will be
used as names for the dimensions. If the list is shorter
than the number of dimensions, it is extended by NULL's to
the length required.
x
An R object; an object of class simple_sparse_array
(see Note).
higher
Option to use the dimensions of the values (see Note).
strict
Option to treat violations of sparse representation as error
(see Note).
order
Option to reorder elements (see Note).
Details
simple_sparse_array is a generator for
a class of “lightweight” sparse arrays,
represented by index matrices and value vectors.
Currently, only methods for indexing and coercion are implemented.