HumSensCorrect: Function to clean relative humidity data from self-built...

Description Usage Arguments Value Examples

View source: R/HumSensCorrect.R

Description

Function to clean relative humidity data from self-built sensors

Usage

1
2
HumSensCorrect(v, t.inter = 5.404, t.slope = 1.0745, min.rescale = 7.5,
  max.rescale = 98.8, poly.a = 0.002462, poly.b = 0.732, poly.c = 7.579)

Arguments

v

Vector that contains the measured relative humidity values.

t.inter

Intercept of the temperature correction. Default provided. Numeric.

t.slope

Slope of the temperature correction. Default provided. Numeric.

min.rescale

Minimal relative humidity that was found at the site. Used set the range of the relative humidity values. Default provided from the calibration experiment. Numeric.

max.rescale

Maximum relative humidity that was found at the site. Used set the range of the relative humidity values. Default provided from the calibration experiment. Numeric.

poly.a

First coefficient of the calibration polynom (a * v^2 + b * v + c). Default provided from calibration experiment.

poly.b

First coefficient of the calibration polynom (a * v^2 + b * v + c). Default provided from calibration experiment.

poly.c

First coefficient of the calibration polynom (a * v^2 + b * v + c). Default provided from calibration experiment.

Value

Vector with the calibrated and re-scaled relative humidity values.

Examples

1
2
3
4
## Not run: 
co.hum$Hum.func <- HumSensCorrect(co.hum$Hum_Avg)

## End(Not run)

MarkusLoew/MySensorCorrect documentation built on May 3, 2019, 3:36 p.m.