plot.interarrival {seas}R Documentation

Plot interarrivals for precipitation

Description

Plots interarrivals for precipitation using boxplots, giving the typical number of continuous wet days and dry days (or spells) throughout the season. The mean value is also drawn as a single line.

Usage

## S3 method for class 'interarrival':
plot(x, width = 11, start=1, rep=0, start.day=1,
           ylog=FALSE, maxy, main, ...)

Arguments

x an interarrival object with numbers of dry/wet days
width size of bin; see mkseas
start starting bin number; e.g., if width="mon" and start=5, the plot will start on "May" at the left-hand side
rep repetition of the bins in the boxplot
start.day when width is numeric, this is the starting day of the year for the fist bin, or it can be a Date to specify a month and day (year is ignored)
ylog logical; y-axis is logarithmic
maxy maximum number of days for the y-axis; it can either be passed as c(wet,dry), or as a single value for both
main main title for plot, otherwise other title will be automatically generated
... ignored

Author(s)

M.W. Toews

See Also

interarrival, plot.seas.var

Examples

data(mscdata)

dat.int <- interarrival(mksub(mscdata,id=1108447))
plot(dat.int, width="mon")

plot(dat.int, ylog=FALSE, maxy=35, rep=10)

[Package seas version 0.3-8 Index]