import_factory_cals | R Documentation |
The factory calibration of the 6800 can be used to calculate concentrations from raw values. The calibration files are found in subfolders of /home/licor/.factory on the instrument. They can be copied to a computer and imported to the package configuration files using this method.
import_factory_cals(
folder = tools::R_user_dir("gasanalyzer", which = "config"),
keep = FALSE
)
folder |
A folder where calibration files are to be found. |
keep |
Copies valid calibration files to a package-specific configuration folder. Will result in automatic import of the data in the future. Will overwrite files. |
The function will also load the calibration into the package environment,
where they can be retrieved by get_factory_cals()
.
This method assumes the files are named with serial number and calibration date, separated by an underscore.
Calibration data is stored in the package environment.
get_factory_cals()
exampledir <- system.file("extdata", package = "gasanalyzer")
# show calibration data
get_factory_cals()
# import factory calibration for example data:
import_factory_cals(exampledir)
# show calibration data
get_factory_cals()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.