Learn R Programming

seas (version 0.2-1)

plot.interarrival: 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, start, end, width = 11, logy=FALSE, maxy,
id, \ldots)

Arguments

x
an interarrival object with number of dry/wet days
start
start year; if omitted minimum year will be used
end
end year; if omitted will use same as start, and if start is omitted, will use maximum year
width
size of bin; see mkfact
logy
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
id
unique station identifier used to extract a subset of data from x
...
other arguments passed to .seastitle and .seascols for title style, colours, and other customizations to the appearance

See Also

interarrival

Examples

Run this code
data(mscdata)

dat.int <- interarrival(mscdata,id=1108447)
plot(dat.int)

Run the code above in your browser using DataLab