Learn R Programming

mcr (version 1.3.3.1)

compareFit: 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(...)

Value

No return value, instead a plot is generated

Arguments

...

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

Examples

Run this code
     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 )

Run the code above in your browser using DataLab