powered by
Create a contiguous block view
view_block(x, rows = NULL, cols = NULL)
A shard_view_block object representing the contiguous block slice.
shard_view_block
A shared (share()d) atomic matrix.
NULL or idx_range().
# \donttest{ m <- share(matrix(1:20, nrow = 4)) v <- view_block(m, cols = idx_range(1, 2)) # }
Run the code above in your browser using DataLab