calibration: Fit a calibration regression and estimate logger error.

Description Usage Arguments Details Value

View source: R/Calibration.R

Description

This function: * identifies calibration loggers * chooses one calibration logger to be used * finds the best lag * fits a calibration model to each non-calibration logger * returns models for calibration and SE models

Usage

1
calibration(internalCal, externalCalMod, nsim = 999)

Arguments

internalCal

A number.

externalCalMod

A number.

nsim

number of simulations to run in the estimation.

Details

nsim is the simulations used to back calculate the logger error. Normally a large number like 99 or 999 should be used, but note that this can take a while to run.

Value

models for calibration and SE models.


Faskally/loggercal documentation built on Oct. 21, 2020, 10:30 p.m.