Description Usage Arguments Examples
View source: R/PurpleAirSoH_dailyPctDC.R
This function calculates the daily percentage of DC signal
recorded by the pm25_A
, pm25_B
, humidity
, and
temperature
channels. The data are flagged as DC signal when the
standard deviation of an hour of data from each channel equals zero.
The number of hours with a DC signal are summed over the day and a daily DC
percentage for each channel is returned.
This metric allows users to identify “sticky values”, or instances of a sensor continuously logging the same value. A high percent DC value indicates the likely occurrence of a “sticky value”, and a zero or low percent DC indicates that the sensor is recording dynamic data.
1 | PurpleAirSoH_dailyPctDC(pat = NULL)
|
pat |
PurpleAir Timeseries pat object. |
1 2 3 4 5 6 7 8 |
library(AirSensor)
tbl <-
example_pat_failure_A %>%
PurpleAirSoH_dailyPctDC()
timeseriesTbl_multiPlot(tbl, ylim = c(0,100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.