pat_dailySoHIndexPlot {AirSensor}R Documentation

Daily State of Health metric plot

Description

This function plots a subset of the most useful State of Health metrics calculated with SoHIndex_FUN.

Both minPctReporting and breaks are passed to SoHIndex_FUN.

Usage

pat_dailySoHIndexPlot(
  pat = NULL,
  minPctReporting = 50,
  breaks = c(0, 0.2, 0.8, 1),
  SoHIndex_FUN = pat_dailySoHIndex_00
)

Arguments

pat

PurpleAir Timeseries pat object.

minPctReporting

Percent reporting threshold for A and B channels.

breaks

Breaks used to convert index values into index bins.

SoHIndex_FUN

Function used to create SoHIndex tibble. (Not quoted.)

See Also

pat_dailySoHIndex_00

Examples


library(AirSensor)

gg_A <- pat_dailySoHIndexPlot(example_pat_failure_A)
gg_B <- pat_dailySoHIndexPlot(example_pat_failure_B)

multi_ggplot(gg_A, gg_B)


[Package AirSensor version 1.0.8 Index]