filter_loading {BlackCarbon} | R Documentation |
Filter loading correction
Description
This function is applied when we already have black carbon concentration processed by ONA algorithm. Since Black carbon concentration measured by AE51 substantially decreases when the filter loading goes up, we can apply filter correction function to adjust for that.
Usage
filter_loading(data, ONA_BC = "BC_ONA", ATN = "ATN")
Arguments
data |
a datafram containing the raw data of black carbon. |
ONA_BC |
the column having black carbon concentration processed by ONA algorithm. |
ATN |
the column having ATN coefficient. |
Details
This method is applicable even when the raw files are compiled as it uses the corresponding ATN values to correct for filter loading of black carbon concentration
Value
The default mthod returns a vector with equal length as the dataframe.
Note
Higly recommend to read the reference before using the function
Author(s)
Sanjeev Bista (MPH - Advanced Bio-statistics and Epidemiology)
References
Kirchstetter, T.W., Novakov, T., 2007. Controlled generation of black carbon particles from a diffusion flame and applications in evaluating black carbon measurement methods. Atmospheric Environment 41, 1874-1888 Available from: https://doi.org/10.1016/j.atmosenv.2006.10.067
See Also
Examples
data(data_ONA)#loading the example dataset
#calculating ONA processed black carbon first
data_ONA$ONA_BC<-ONA(data=data_ONA, ATN = "ATN", BC ="BC", dATN =0.05)
filter_loading(data =data_ONA, ATN = "ATN", ONA_BC="BC")
## The function is currently defined as
function (data, ONA_BC = "BC_ONA", ATN = "ATN")
{
data[, ONA_BC] * (0.88 * exp(-(data[, ATN])/100) + 0.12)^(-1)
}