The number of valid (i.e., not NA or out-of-spec) sensor measurements are summed over the course of a calendar day (24 hours unless a partial day is included in the data), then divided by the total number of measurements the sensor actually recorded in during that day (including NA and out-of-spec values) to return a percentage of the total recorded measurements that are considered plausible.

PurpleAirSoH_dailyPctValid_OLD(pat = NULL)

Arguments

pat

PurpleAir Timeseries pat object.

Examples

tbl <- example_pat_failure_B %>% PurpleAirSoH_dailyPctValid_OLD() timeseriesTbl_multiPlot(tbl, ylim = c(0,100), style = "line")