Learn R Programming

shard (version 0.1.0)

is_view: View Predicates

Description

View Predicates

Usage

is_view(x)

is_block_view(x)

Value

Logical. TRUE if x is a shard view (or block view).

Arguments

x

An object.

Examples

Run this code
# \donttest{
m <- share(matrix(1:20, nrow = 4))
v <- view_block(m, cols = idx_range(1, 2))
is_view(v)
is_block_view(v)
# }

Run the code above in your browser using DataLab