calibrate.datalogger {embryogrowth} | R Documentation |
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 |
Details
calibrate.datalogger calibrates data loggers and correct time series of temperatures.
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.
Author(s)
Marc Girondot
See Also
Other Data loggers utilities:
movement()
,
uncertainty.datalogger()
Examples
## Not run:
library(embryogrowth)
calibrate.datalogger(control.temperatures=20:30,
read.temperatures=(20:30)+rnorm(11))
## End(Not run)
[Package embryogrowth version 9.1 Index]