This function calculates a daily linear model between the pm25_A, pm25_B, humidity, and temperature channels. One r-squared value for each channel pair except pm25_A, pm25_B, and humidity, temperature will be returned for each day. All returned values are expected to hover near 0 for a properly functioning sensor.

PurpleAirSoH_dailyOtherFit(pat = NULL)

Arguments

pat

PurpleAir Timeseries pat object.

Examples

library(AirSensor) tbl <- example_pat_failure_A %>% PurpleAirSoH_dailyOtherFit() timeseriesTbl_multiPlot( tbl, ncol = 2, ylim = c(0,1) )
timeseriesTbl_multiPlot( tbl, autoRange = TRUE )