| year.ploy | R Documentation |
Plots a continuous set of annual temperature and precipitation statistics for a single climate station.
year.plot(x, start.day = 1, precip.only = FALSE, precip.ylim,
temp.ylim, na.cut = 10, ...)
x |
a |
start.day |
starting day of annum; either a |
precip.only |
only precipitation data is used; rain and snow ignored |
precip.ylim |
range for precipitation graph |
temp.ylim |
range for temperature graph |
na.cut |
minimum number of missing data points in a year to make it void; temperature and precipitation are treated independently |
... |
ignored |
This simply shows temperature using (boxplots) and
annual precipitation totals. The red bars are directly proportional to
the fraction of missing (or NA) values for the year; statistics
not shown if there are more than na.cut NA values in a
given year.
This function was formerly named plot.year, but required
renaming as it is not an S3 method.
Mike Toews
mscdata, seas.temp.plot,
plot.seas.norm (can be used for precipitation normals),
calculate statistics with tapply
data(mscdata)
year.plot(mksub(mscdata, id=1108447))
year.plot(mksub(mscdata, id=1108447,
start=as.Date("1975-08-01"),
end=as.Date("2004-07-31")),
start.day=as.Date("2000-08-01"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.