compareFit: Graphical Comparison of Regression Parameters and Associated...

View source: R/mcrCompareFit.r

compareFitR Documentation

Graphical Comparison of Regression Parameters and Associated Confidence Intervals

Description

Graphical comparison of regression parameters (intercept and slope) and their associated 100(1-alpha)% confidence intervals for multiple fitted models of 'MCResult' sub-classes.

Usage

compareFit(...)

Arguments

...

list of fitted models, i.e. objects of "MCResult" sub-classes.

Value

No return value, instead a plot is generated

Examples

     library("mcr")
     data("creatinine", package="mcr")
     fit.lr <- mcreg(as.matrix(creatinine), method.reg="LinReg", na.rm=TRUE)
     fit.wlr <- mcreg(as.matrix(creatinine), method.reg="WLinReg", na.rm=TRUE)
     compareFit( fit.lr, fit.wlr )

mcr documentation built on Sept. 23, 2024, 5:10 p.m.