View source: R/mcrCompareFit.r
compareFit | R Documentation |
Graphical comparison of regression parameters (intercept and slope) and their associated 100(1-alpha)% confidence intervals for multiple fitted models of 'MCResult' sub-classes.
compareFit(...)
... |
list of fitted models, i.e. objects of "MCResult" sub-classes. |
No return value, instead a plot is generated
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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.