plot.year {seas} | R Documentation |
Plots a continuous set of annual temperature and precipitation statistics for a single climate station.
plot.year(x) plot.year(x, start.day=1, precip.only = FALSE, precip.ylim, temp.ylim, na.cut = 10, ...)
x |
a data.frame of climate data |
start.day |
starting day of annum; either a Date or an
integer day of year; this influences the statistics for each year or
annum; such as annual precipitation sums |
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 (boxplot
s) 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.
M.W. Toews
mscdata
, plot.seas.temp
,
plot.seas.norm
(can be used for precipitation normals),
calculate statistics with tapply
data(mscdata) plot.year(mksub(mscdata,id=1108447)) plot.year(mksub(mscdata,id=1108447, start=as.Date("1975-08-01"), end=as.Date("2004-07-31")), start.day=as.Date("2000-08-01"))