PurpleAirSoH_dailyMetFit {AirSensor}R Documentation

Daily fit values

Description

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.

Usage

PurpleAirSoH_dailyMetFit(pat = NULL)

Arguments

pat

PurpleAir Timeseries pat object.

Examples

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

timeseriesTbl_multiPlot(
  tbl, 
  autoRange = TRUE
)


[Package AirSensor version 1.0.8 Index]