get_factory_cals | R Documentation |
The factory calibration of the 6800 can be used to calculate concentrations from raw values. If calibration information is available in the package environment it can be retrieved by this method.
get_factory_cals(sn = NULL, datetime = NULL)
sn |
a character vector with an instrument serial number. If named, the names are kept in the output. |
datetime |
a POSIXct time vector indicating the latest possible time for the calibration data that is to be returned. If no calibration before datetime is found, the oldest available calibration is returned. |
The datetime option can be used to make sure that newer calibration files are not used in combination with older datafiles.
A character matrix with factory calibration data. If no datetime is provided, the newest calibration is returned.
exampledir <- system.file("extdata//", package = "gasanalyzer")
# import factory cals for example data:
import_factory_cals(exampledir)
# show calibration data for a specific instrument serial numbers, closest to
# the current time:
get_factory_cals(sn = "68H-422400", datetime=Sys.time())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.