Description Usage Arguments Examples
View source: R/PurpleAirSoH_dailyABFit.R
This function calculates daily linear model values between
the pm25_A
and pm25_B
channels. A daily r-squared value is
returned in addition to the coefficients of the linear fit (slope and
intercept)
1 | PurpleAirSoH_dailyABFit(pat = NULL)
|
pat |
PurpleAir Timeseries pat object. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
library(AirSensor)
tbl <-
example_pat_failure_A %>%
PurpleAirSoH_dailyABFit()
names(tbl)
timeseriesTbl_multiPlot(
tbl,
parameters = c("pm25_A_pm25_B_rsquared", "pm25_A_pm25_B_slope"),
ylim = c(-1,1)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.