Learn R Programming

uroot (version 1.4-1)

bbaplot: Buys-Ballot Anual Path Plot

Description

Plot anual paths in quarterly and monthly time series.

Usage

bbaplot (wts, years=NULL, colour=c("SlateBlue","SeaGreen","red","magenta"))

Arguments

wts
a univariate time series object.
years
a vector indicating the years to plot. By default the first, last, and half the sample years are selected.
colour
colours for lines.

See Also

bbplot, bb3D, and bbcn.

Examples

Run this code
## Plot anual paths.
    data(AirPassengers)
    bbaplot(wts=AirPassengers)
    bbaplot(wts=log(AirPassengers), years=c(1949, 1951, 1958, 1960))

Run the code above in your browser using DataLab