calib_coef: Estimate the fixed coeficient of a calibration dataset.

Description Usage Arguments Value Examples

View source: R/calibration.R

Description

Calib_coef return a list with the estimation of the fixed coefficients and model data for diagnostics.

Usage

1
calib_coef(DS, LowerRange = 0, UpperRange = 200, MyModel = "lm")

Arguments

DS

is a data.frame with 6 columns (RunTechnician, ConcentrationLabel, ConcentrationValue, CalibCurve, ReplicateNumber, Responses). Responses column might have been filled by simulation or with the experimental results.

LowerRange

A real number corresponding to the lower bound of the range in which the modelisation applies.

UpperRange

A real number corresponding to the upper bound of the range in which the modelisation applies.

MyModel

A string of character indicating the type of model to apply. Currently only "lm" for linear model.

Value

Resp A list with the estimate of the fixed effects, the fixed effect estimates of all calibration curves and data usefull for diagnostics)

Examples

1
2
data(calib_data)
RespCalib = calib_coef(DS = calib_data,LowerRange=0,UpperRange=200,MyModel='lm')

NicolasEDubois/anaval documentation built on May 7, 2019, 6:18 p.m.