setOps-immutable | R Documentation |
Subset an immutable object, returning another immutable object.
subset.immutable(x, ...)
## S3 method for class 'immutable'
x[...]
## S3 method for class 'immutable'
x[[...]]
## S3 method for class 'immutable'
x$...
x |
An R object inheriting from the "immutable" S3-class. |
... |
Catch any additional parameters. Lets objects with arbitrary dimensions be made immutable. |
An immutable subset of x
.
immut_mat <- immutable(matrix(1:100, 10, 10))
immut_mat[1:5, 1:5]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.