subset.InfinitySparseMatrix | R Documentation |
This matches the syntax and semantics of subset for matrices.
## S3 method for class 'InfinitySparseMatrix'
subset(x, subset, select, ...)
## S4 method for signature 'InfinitySparseMatrix'
x[i, j = NULL, ..., drop = TRUE]
## S4 replacement method for signature 'InfinitySparseMatrix'
x[i, j] <- value
x |
InfinitySparseMatrix to be subset or bound. |
subset |
Logical expression indicating rows to keep. |
select |
Logical expression indicating columns to keep. |
... |
Other arguments are ignored. |
i |
Row indices. |
j |
Col indices. |
drop |
Ignored. |
value |
replacement values |
An InfinitySparseMatrix with only the selected elements.
Mark Fredrickson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.