indexCalculation: This function takes in five parameters:...

Description Usage Arguments Value

View source: R/aqiCalculation.R

Description

This function takes in five parameters: highIndexBreakpoint,lowIndexBreakpoint, highConcentrationBreakpoint,lowConcentrationBreakpoint,pm25Concentration, in that order. It then calculates the AQI guven the specified indices.

Usage

1
2
3
4
5
6
7
indexCalculation(
  highIndexBreakpoint,
  lowIndexBreakpoint,
  highConcentrationBreakpoint,
  lowConcentrationBreakpoint,
  pm25Concentration
)

Arguments

highIndexBreakpoint, lowIndexBreakpoint,

highConcentrationBreakpoint,lowConcentrationBreakpoint,pm25Concentration

Value

it returns the AQI that corresponds to the given PM2.5 measurement


CEHAT-Clinic/analysis documentation built on Dec. 17, 2021, 12:54 p.m.