Skip to contents

Returns a ggplot of the per-month means computed by monthmean().

Usage

# S3 method for class 'Monthmean'
autoplot(object, ...)

Arguments

object

a Monthmean object produced by monthmean().

...

unused, for S3 generic compatibility.

Value

a ggplot object.

See also

Author

Nicholas Tierney

Examples

# \donttest{
mmean <- monthmean(
  data = CVD,
  resp = "cvd",
  offsetpop = expression(pop / 100000),
  adjmonth = "average"
)
#> Total number of days: 5114
autoplot(mmean)

autoplot(mmean) + ggplot2::theme_minimal()

# }