chunk_blocks | R Documentation |
Convenience wrappers around [
to extract or replace blocks from an array
based on block coordinates.
chunk_blocks(x, ..., drop = TRUE, origin = chunk_origin(x))
chunk_blocks(x, ..., origin = chunk_origin(x)) <- value
x |
Object from which to extract element(s) or in which to replace element(s). |
... |
block coordinates specifying elements to extract or replace. Can be numeric, logical, or missing. If numeric, the coordinates will be mapped to indices unless there is a single, non-matrix argument. |
drop |
if |
origin |
the origin of the chunk array, used for mapping coordinates to indices |
value |
An array-like R object of similar class as x |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.