monitor_ggCalendar: Calendar plot

View source: R/monitor_ggCalendar.R

monitor_ggCalendarR Documentation

Calendar plot

Description

Annual calendar view of a daily reading using a selected input.

Usage

monitor_ggCalendar(
  monitor = NULL,
  id = NULL,
  ncol = 4,
  title = NULL,
  discrete = TRUE,
  breaks = NULL,
  break_labels = NULL,
  aspect_ratio = 1,
  legend_title = NULL,
  stat = "mean"
)

Arguments

monitor

A mts_monitor object.

id

deviceDeploymentID to include in the plot. This can be NULL if monitor only has one unique deviceDeploymentID.

ncol

Number of columns in the plot.

title

Optional title.

discrete

Logical specifying use of a discrete color scale.

breaks

Color scale break points.

break_labels

Scale breaks names.

aspect_ratio

Plot aspect ratio.

legend_title

Optional title used in the legend.

stat

Statistic used for daily aggregation (default: "mean").

Value

ggobject


MazamaScience/AirMonitorPlots documentation built on May 8, 2024, 6:16 a.m.