residuals.cal {quantchem}R Documentation

Residuals of calibration curves

Description

Extract residuals of all fitted calibration models.

Usage

residuals.cal(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

Author(s)

Lukasz Komsta

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))

[Package quantchem version 0.12-1 Index]