BUUHWE.plot: Graphical representation of the Bottom Up Unbalanced Haar...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/BUUHWE.plot.r

Description

Function for graphical representation of the Bottom Up Unbalanced Haar Wavelet Expansion of a series, as obtained from function BUUHWE.

Usage

1
2
BUUHWE.plot(BUUHWE.out, row.max = length(BUUHWE.out$series), 
French = FALSE, Color = TRUE)

Arguments

BUUHWE.out

output of function BUUHWE.

row.max

integer. Number of basis vectors to be represented. By default, all vectors are shown.

French

logical. Should labels be written in french? (default=english)

Color

logical. Should the representation be in color (alternative: black and white)? (default = color)

Details

See References below, in particular Timmermans (2012), Chapter 1, or Timmermans and von Sachs (2010).

Value

This function is invoked for its side effect which is to produce a graphical representation of the expansion of a series in its unbalanced Haar wavelet basis. The series is represented on the top of the graph, with the time axis at the bottom of the main figure. This main figure is the representation of the Unbalanced Haar basis, row by row, with rank k=0 (constant vector) on the top. Vectors are expressed as a function of time (horizontaly) and the height of that function is given by the blue to red color scale (if Color = TRUE) or relatively to a zero level, that is indicated by a dotted horizontal line for each rank. Vertically, the detail coefficients are represented rank by rank at the same level as the corresponding basis vectors. This is the expansion of the series in its associated Unbalanced Haar basis, starting from rang k= 0 on the top of the gaph - wich is represented missing for graphical purpose and continuing downwards with rang k increasing. If you sum those detail coefficients times their associated basis vectors, you get back the initial series.

Note

The equivalent of BUUHWE.plot for images is BUUHWE_2D.plot. Another way to represent the BUUHWE transform of a series is through function BD.plot.

Author(s)

Catherine Timmermans, Institute of Statistics, Biostatistics and Actuarial Sciences, UCLouvain, Belgium.

Contact: catherine.timmermans@uclouvain.be

References

The main references are

Other references include

The function BUUHWE_2D in this package is similar to the function uh.bu.2d (copyrighted Fryzlewicz 2014) in the package "shah_code", available on the webpage of Piotr Fryzlewicz: http://stats.lse.ac.uk/fryzlewicz/shah/shah_code.R , which accompanies the paper Fryzlewicz and Timmermans (2015).

See Also

BUUHWE, BD.plot,BUUHWE_2D.plot

Examples

1
2
3
x = c(0,0,1,0,0, 3, 5, 0, 0)
BUUHWE.plot(BUUHWE(x))
BUUHWE.plot(BUUHWE(x), Color= FALSE)     

Bagidis documentation built on May 29, 2017, noon