Learn R Programming

AirSensor (version 1.0.2)

PurpleAirSoH_dailyABtTest: Daily t-test

Description

This function calculates a t-test between the pm25_A, pm25_B. A t-statistic and a p-value will be returned for each day. All returned values are expected to hover near 0 for a properly functioning sensor.

Usage

PurpleAirSoH_dailyABtTest(pat = NULL)

Arguments

pat

PurpleAir Timeseries pat object.

Examples

Run this code
# NOT RUN {
 
library(AirSensor)

tbl <- 
  example_pat_failure_B %>%
  PurpleAirSoH_dailyABtTest() 
  
timeseriesTbl_multiPlot(tbl)

# }

Run the code above in your browser using DataLab