Skip to contents

Autoplot a daily meteorological series, usually covering a very long period of time such as several dozens of years.

Usage

# S3 method for dailyMet
autoplot(
  object,
  group = c("decade", "year", "yearW", "none"),
  subset = NULL,
  ...
)

Arguments

object

The object to be (gg)-ploted.

group

A character giving the grouping variable.

subset

A subset method of the "data.frame" class.

...

Further arguments to be passed to subset.

Value

An object inheriting from the "ggplot" class.

Note

When required, the subset method used is that of the "data.frame" class. This method is not available for the "dailyMet" class since the regular sampling condition is usually lost by subsetting.

Examples

autoplot(Rennes)

autoplot(Rennes, group = "year", subset = Year >= 2010)

autoplot(Rennes, group = "yearW", subset = Year >= 2010 & DJF)