Learn R Programming

AirSensor (version 1.0.2)

pat_dailySoH: Daily state of health

Description

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

Usage

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

pat_dailySoHPlot

Examples

Run this code
# NOT RUN {
library(AirSensor)

SoH <- 
  example_pat_failure_B %>%
  pat_dailySoH() 
  
timeseriesTbl_multiPlot(SoH, ncol = 4)
# }

Run the code above in your browser using DataLab