Learn R Programming

embryogrowth (version 8.0)

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
)

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

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.

Details

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

See Also

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

Examples

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

Run the code above in your browser using DataLab