reveal: reveal blockdimension structure

Description Usage Arguments See Also Examples

Description

Reveals the blockdimension structure in a visual display

Usage

1
  reveal(x)

Arguments

x

a multiblock object

See Also

nblocks, blockdim

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# create a block-vector
bnum = blockvector(runif(10), parts = c(5,5), dims = 2)
reveal(bnum)

# another blockvector
g = blockvector(1:100, parts = rep(10, 10), dims = 10)
reveal(g)

# create a block-matrix
a = matrix(runif(20), 5, 4)
A = blockmatrix(a, c(2, 3), c(2, 2))
reveal(A)

# another block-matrix
b = matrix(runif(100), 5, 20)
B = blockmatrix(b, c(2, 3), c(10, 10))
reveal(B)

gastonstat/blockberry documentation built on May 16, 2019, 5:44 p.m.