PurpleAirSoH_dailyABtTest: Daily t-test

View source: R/PurpleAirSoH_dailyABtTest.R

PurpleAirSoH_dailyABtTestR Documentation

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. The t-statistic and p-value serve to test whether or not the pm25_A and pm25_B data are significantly different based on a student’s t-test.

Usage

PurpleAirSoH_dailyABtTest(pat = NULL)

Arguments

pat

PurpleAir Timeseries pat object.

Examples

 
library(AirSensor)

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

MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.