| delarr | R Documentation |
Wraps an existing matrix or delarr_seed in the lightweight delayed
pipeline. Matrix inputs are wrapped in a seed that simply slices the source
object, while delarr inputs are returned unchanged.
delarr(x, ...)
x |
A base matrix or a |
... |
Future extensions; currently ignored. |
A delarr object representing the delayed matrix.
# Create a delayed matrix from a regular matrix
mat <- matrix(1:12, nrow = 3, ncol = 4)
darr <- delarr(mat)
darr
# Operations are queued lazily
result <- darr * 2
result
# Materialize with collect()
collect(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.