| [<-.shard_buffer | R Documentation |
Assign to Buffer Elements
## S3 replacement method for class 'shard_buffer'
x[i, j, ...] <- value
x |
A shard_buffer object. |
i |
Index or indices. |
j |
Optional second index (for matrices). |
... |
Additional indices (for arrays). |
value |
Values to assign. |
The modified shard_buffer object, invisibly.
buf <- buffer("double", dim = 10)
buf[1:5] <- rnorm(5)
buffer_close(buf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.