timeseriesTbl_multiPlot {AirSensor}R 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_failure_A)

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


[Package AirSensor version 1.0.8 Index]