plot.seas.temp {climate.plot} | R Documentation |
Plot seasonal temperature normals using boxplots, and also plot seasonal diurnal variability between minimum and maximum temperature.
plot.seas.temp(x) plot.seas.temp(x, start, end, width=11, id, names=c("min_t","max_t","mean_t"), unit="C", add.alt=FALSE, ylim, ...)
x |
data.frame of climate data |
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 |
id |
unique station identifier used to extract a subset of data from x |
names |
array specifying the names of the columns in x which relate to the minimum, maximum and mean temperatures |
unit |
native temperature units of the data; one of either C, F or K |
add.alt |
logical ; add an alternative scale: if unit is C, the alternative is F; if unit is F, the alternative is C; and if unit is K, the alternative is C |
ylim |
c(min,max) range for y-axis |
... |
other arguments passed to .seastitle for title style, and other customizations to the appearance |
Plots boxplots for seasonal temperature normals from mean daily temperature, and diurnal variability with the mean difference of daily minimum and maximum temperatures (red vertical lines).
Returns values from boxplot
statistics on mean temperature.
M.W. Toews
plot.seas.param
, plot.seas.norm
, plot.year
data(mscdata) plot.seas.temp(mscdata,id=1108447) plot.seas.temp(mscdata,id=1108447, width="mon", add.alt=TRUE)