matrix indices of which matrix to include in the
conversion. The default, NULL
, means all the
matrices are used.
If not NULL
, index is numeric or character vectors.
Numeric values are coerced to integer as by as.integer()
(and hence
truncated towards zero).
Character vectors will be matched to the matrix names of the object.
Can also be logical vectors, indicating elements/slices to replace. Such
vectors are NOT recycled, which is an important difference with usual
matrix replacement. It means that the logical
vector must match the
number of matrices in length.
Can also be negative integers, indicating elements/slices to leave out of
the replacement.