plot.year {seas}R Documentation

Plot annual temperature and precipitation statistics

Description

Plots a continuous set of annual temperature and precipitation statistics for a single climate station.

Usage

plot.year(x)

plot.year(x, start.day=1, precip.only = FALSE, precip.ylim,
          temp.ylim, na.cut = 10, ...)

Arguments

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

Details

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.

Author(s)

M.W. Toews

See Also

mscdata, plot.seas.temp, plot.seas.norm (can be used for precipitation normals), calculate statistics with tapply

Examples

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"))

[Package seas version 0.3-8 Index]