A plotting function that uses ggplot2 to display a suite of timeseries plots all at once.
timeseriesTbl_multiPlot( tbl = NULL, pattern = NULL, parameters = NULL, nrow = NULL, ncol = NULL, autoRange = TRUE, ylim = NULL, style = "line" )
tbl | Tibble with a |
---|---|
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") |
Specification of ylim
will override the choice of
autoRange
.
# \donttest{ library(AirSensor) tbl <- pat_aggregateOutlierCounts(example_pat_failure_A) timeseriesTbl_multiPlot( tbl, pattern = c("humidity|temperature"), nrow = 2 )# }