bbcn {uroot}R Documentation

Buys-Ballot contour

Description

This function creates a grid of rectangles with colors corresponding to the values in MR and add contour lines to the existing plot.

Usage

      bbcn (MR, s, t0, color)
   

Arguments

MR a matrix containing the values to be plotted (NAs are allowed).
s periodicity of the series
t0 year and season of the first observation.
color logical. If TRUE a coloured graphic is showed. Otherwise, grey scale.

Details

MR is a matrix with the data of the series defined as the matrix provided by quarterg in quarterly series and bbmp in monthly series.

Value

Perspective graphic of surface over the month-year plane.

Author(s)

Javier López-de-Lacalle javlacalle@yahoo.es and Ignacio Díaz-Emparanza etpdihei@bs.ehu.es

See Also

bb3D, bbmp, contour, image, and persp, quarterg.

Examples

      data(AirPassengers)
      MR <- bbmp (vari=AirPassengers, t0=c(1949,1), mp=c(1:12), vers="Prot", plot=FALSE)
      bbcn (MR, s=12, t0=c(1949,1), color=TRUE)
   

[Package uroot version 1.3 Index]