Description Usage Arguments Examples
View source: R/PurpleAirSoH_dailyMetFit.R
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.
1 | PurpleAirSoH_dailyMetFit(pat = NULL)
|
pat |
PurpleAir Timeseries pat object. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | library(AirSensor)
tbl <-
example_pat_failure_A %>%
PurpleAirSoH_dailyMetFit()
timeseriesTbl_multiPlot(
tbl,
ncol = 2,
ylim = c(0,1)
)
timeseriesTbl_multiPlot(
tbl,
autoRange = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.