Learn R Programming

uroot (version 1.3)

quarterg: Buys-Ballot quarterly plot

Description

Graphic of quarterly paths.

Usage

quarterg (vari, t0, plot)

Arguments

vari
a ts object.
t0
a vector of two elements indicating the year and season of the first observation.
plot
logical. If TRUE a graphic is showed. Otherwise, quarterly data are stored.

Value

  • quarterly path data.

    graphic of the quarterly path if it is asked for.

See Also

bbmp, bbap, bb3D, and bbcn.

Examples

Run this code
## Plot in a single graph the path of the four quarters and
      ## store its data in the object \code{MR}.
      data(JohnsonJohnson)
      MR <- quarterg (vari=JohnsonJohnson, t0=c(1960,1), plot=TRUE)

Run the code above in your browser using DataLab