| scratch_matrix | R Documentation |
Allocates (or reuses) a double matrix in the worker scratch pool.
scratch_matrix(nrow, ncol, key = NULL)
nrow, ncol |
Dimensions. |
key |
Optional key to control reuse. Defaults to a shape-derived key. |
A double matrix of dimensions nrow by ncol.
m <- scratch_matrix(10, 5)
dim(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.