Learn R Programming

season (version 0.3.15)

plotMonth: Plot Results by Month

Description

Plots results by month.

Usage

plotMonth(data, resp, panels = 12, ...)

Arguments

data

a data frame.

resp

response variable to plot.

panels

number of panels to use in plot (1 or 12). 12 gives one panel per month, 1 plots all the months in the same panel.

...

further arguments passed to or from other methods.

Author

Adrian Barnett a.barnett@qut.edu.au

Details

Assumes the data frame contains variables called year and month.

References

Barnett, A.G., Dobson, A.J. (2010) Analysing Seasonal Health Data. Springer.

Examples

Run this code
# \donttest{
data(CVD)
plotMonth(data=CVD, resp='cvd', panels=12)
# }

Run the code above in your browser using DataLab