quantchem (version 0.13)

residuals.cal: Residuals of calibration curves

Description

Extract residuals of all fitted calibration models.

Usage

"residuals"(object, ...)

Arguments

object
an object inheriting from 'cal' ('lmcal' or 'nlscal')
...
additional arguments, currently ignored

Value

A data frame, containing residuals of all models with their respective names

See Also

lmcal, nlscal

Examples

set.seed(1234)
x=rep(1:8,5)
y=jitter(sqrt(x))
fit=lmcal(x,y)
residuals(fit)
boxplot(residuals(fit))