Learn R Programming

AirSensor (version 1.0.2)

PurpleAirSoH_dailyPctDC: Daily DC Signal percentage

Description

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.

Usage

PurpleAirSoH_dailyPctDC(pat = NULL)

Arguments

pat

PurpleAir Timeseries pat object.

Examples

Run this code
# NOT RUN {
 
library(AirSensor)

tbl <- 
  example_pat_failure_A %>%
  PurpleAirSoH_dailyPctDC() 

timeseriesTbl_multiPlot(tbl, ylim = c(0,100))
# }

Run the code above in your browser using DataLab