| view | R Documentation |
Create a view over a shared matrix
view(x, rows = NULL, cols = NULL, type = c("auto", "block", "gather"))
x |
A shared (share()d) atomic matrix (double/integer/logical/raw). |
rows |
Row selector. NULL (all rows) or idx_range(). |
cols |
Column selector. NULL (all cols) or idx_range(). |
type |
View type. |
A shard_view_block or shard_view_gather object depending
on the selectors provided.
m <- share(matrix(1:20, nrow = 4))
v <- view(m, cols = idx_range(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.