timeseriesTbl_multiPlot: Faceted plot of a timeseries tibble

View source: R/timeseriesTbl_multiPlot.R

timeseriesTbl_multiPlotR Documentation

Faceted plot of a timeseries tibble

Description

A plotting function that uses ggplot2 to display a suite of timeseries plots all at once.

Usage

timeseriesTbl_multiPlot(
  tbl = NULL,
  pattern = NULL,
  parameters = NULL,
  nrow = NULL,
  ncol = NULL,
  autoRange = TRUE,
  ylim = NULL,
  style = "line"
)

Arguments

tbl

Tibble with a datetime.

pattern

Pattern used to match groups of parameters.

parameters

Custom vector of aggregation parameters to view.

nrow

Number of rows in the faceted plot.

ncol

Number of columns in the faceted plot.

autoRange

Logical specifying whether to scale the y axis separately for each plot or to use a common y axis.

ylim

Vector of (lo,hi) y-axis limits.

style

Style of plot: ("point", "line", "area")

Note

Specification of ylim will override the choice of autoRange.

Examples


library(AirSensor)

tbl <- pat_aggregateOutlierCounts(example_pat)

timeseriesTbl_multiPlot(
  tbl,
  pattern = c("humidity|temperature"),
  nrow = 2
)


MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.