Learn R Programming

unbalhaar (version 2.1)

unbal.haar.vector: Unbalanced Haar vector

Description

Computes the non-zero part of an Unbalanced Haar vector with a given start-, break- and end-point.

Usage

unbal.haar.vector(a)

Arguments

a

a three-component vector of integers such that a[1] <= a[2] < a[3]. The three components specify, respectively, the start point, the time point just before the breakpoint, and the endpoint of the desired Unbalanced Haar vector.

Value

the non-zero part of the corresponding Unbalanced Haar vector

Examples

Run this code
# NOT RUN {
unbal.haar.vector(c(1, 1, 2))
unbal.haar.vector(c(2, 5, 12))
# }

Run the code above in your browser using DataLab