[,SparseArray,ANY,ANY-method | R Documentation |
Indexing methods for SparseArray
and MriImage
objects. For the latter class, arguments are passed to the equivalents for
array
or SparseArray
, except where i
is another
MriImage
object, where its nonzero region will be used to
provide the indices. For SparseArray
, indexing may be blank,
or by numeric vector or matrix.
## S4 method for signature 'SparseArray,ANY,ANY'
x[i, j, ..., drop = TRUE]
## S4 replacement method for signature 'SparseArray,ANY,ANY'
x[i, j, ...] <- value
## S4 method for signature 'MriImage,missing,missing'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'MriImage,ANY,missing'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'MriImage,missing,ANY'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'MriImage,ANY,ANY'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'MriImage,MriImage,missing'
x[i, j, ..., drop = TRUE]
## S4 replacement method for signature 'MriImage,missing,missing'
x[i, j, ...] <- value
## S4 replacement method for signature 'MriImage,ANY,missing'
x[i, j, ...] <- value
## S4 replacement method for signature 'MriImage,missing,ANY'
x[i, j, ...] <- value
## S4 replacement method for signature 'MriImage,ANY,ANY'
x[i, j, ...] <- value
## S4 replacement method for signature 'MriImage,MriImage,missing'
x[i, j, ...] <- value
x |
An object of the appropriate type. |
i , j , ... |
Indexing objects. |
drop |
Scalar value: should unitary dimensions be dropped? |
value |
New value(s) for replacement forms. |
A vector, array or SparseArray
.
Jon Clayden
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.