clean_measures: Outputs clean rh_corrected_nephelometer measures for...

Description Usage Arguments Details Value Examples

View source: R/clean_measures.R

Description

Outputs clean rh_corrected_nephelometer measures for analysis.

Usage

1
clean_measures(micropem_object, hepa_start = FALSE, hepa_end = FALSE)

Arguments

micropem_object

the MicroPEM object

hepa_start

Boolean indicating whether there were measurements with HEPA filters at the beginning.

hepa_end

Boolean indicating whether there were measurements with HEPA filters at the end.

Details

rh_corrected_nephelometer values are set to NA if they are negative or if the RH at the same time is higher than 90%. rh_corrected_nephelometer values are also corrected for the HEPA zeroings (start and end, if there were done): if a stable period longer than 3 minutes can be identified for the HEPA period, using the changepoint cpt.mean function, there is a zero value. There can be no zero values, only one (beginning or end) or two. If there is only one zero value, it is substracted from all rh_corrected_nephelometer values. If there are two, a linear interpolation is done between the two values and the resulting vector is substracted from the rh_corrected_nephelometer values.

Value

A MicroPEM object.

Examples

1
2
3

maelle/rtimicropem documentation built on Aug. 4, 2017, 4:20 a.m.