This function combines the output of the State of Health (SoH) function arguments into a single tibble.

pat_dailySoH(
  pat = NULL,
  SoH_functions = c("PurpleAirSoH_dailyPctDC", "PurpleAirSoH_dailyPctReporting",
    "PurpleAirSoH_dailyPctValid", "PurpleAirSoH_dailyOtherFit",
    "PurpleAirSoH_dailyABFit", "PurpleAirSoH_dailyABtTest")
)

Arguments

pat

PurpleAir Timeseries pat object.

SoH_functions

Vector of function names. All the passed in functions must output tibbles with a daily datetime variable and must cover the same period of time.

See also

Examples

# \donttest{ library(AirSensor) SoH <- example_pat_failure_B %>% pat_dailySoH() timeseriesTbl_multiPlot(SoH, ncol = 4)
# }