Learn R Programming

embryogrowth (version 9.5)

calibrate.datalogger: Calibrate data loggers and correct time series of temperatures

Description

Calibrate a time series of temperatures. Use or gam or glm. If no temperatures.series is given, it will use the read.temperatures.

Usage

calibrate.datalogger(
  control.temperatures = stop("Control temperatures is missing"),
  read.temperatures = stop("Read temperatures must be indicated"),
  temperatures.series = NULL,
  gam = TRUE,
  se.fit = TRUE
)

Value

The function will return a corrected time series of temperatures as a vector if se.fit is FALSE or a list if se.fit is TRUE.

Arguments

control.temperatures

The true temperatures during the calibration process

read.temperatures

The read temperatures during the calibration process

temperatures.series

The temperatures to be converted using calibration

gam

Does gam should be used (TRUE) or glm (FALSE).

se.fit

Do standard errors are to be returned

Author

Marc Girondot

Details

calibrate.datalogger calibrates data loggers and correct time series of temperatures.

References

11124embryogrowth

See Also

Other Data loggers utilities: movement(), uncertainty.datalogger()

Examples

Run this code
if (FALSE) {
library(embryogrowth)
calibrate.datalogger(control.temperatures=20:30, 
                     read.temperatures=(20:30)+rnorm(11))
}

Run the code above in your browser using DataLab