Learn R Programming

waveslim (version 1.12)

blocks: A Piecewise-Constant Function

Description

$$blocks(x) = \sum_{j=1}^{11}(1 + {\rm sign}(x-p_j)) h_j / 2$$

Usage

data(blocks)

Arguments

format

A vector containing 512 observations.

source

S+WAVELETS.

References

Bruce, A., and H.-Y. Gao (1996) Applied Wavelet Analysis with S-PLUS, Springer: New York.