block_partition2d: Construct 2d block partition

Description Usage Arguments Value See Also Examples

View source: R/block_partition2d.R

Description

Group the coefficients into blocks (or groups) of size L.

Usage

1

Arguments

x

(noisy) wc at a given scale.

L

block size.

Value

out partition of coefficients by block.

See Also

invblock_partition2d

Examples

1
2
3
4
5
6
x <- matrix(rnorm(2^2), ncol=2)
j0 <- 0
qmf <- MakeONFilter('Haar')
wc <- FWT2_PO(x, j0, qmf)
L <- 2
wcb <- block_partition2d(wc, L)

rwavelet documentation built on Jan. 13, 2021, 10:38 a.m.