View source: R/MCResultMethods.r
MCResult.calcResponse | R Documentation |
Calculate Response Intercept + Slope * Refrencemethod
with Corresponding Confidence Interval
MCResult.calcResponse(.Object, x.levels, alpha, ...)
.Object |
object of class "MCResult". |
x.levels |
a numeric vector with points for which response schould be calculated. |
alpha |
numeric value specifying the 100(1- |
... |
further parameters |
response and corresponding confidence interval for each point in vector x.levels
.
calcBias
#library("mcr")
data(creatinine,package="mcr")
x <- creatinine$serum.crea
y <- creatinine$plasma.crea
# Deming regression fit.
# The confidence intercals for regression coefficients
# are calculated with analytical method
model <- mcreg( x,y,error.ratio=1,method.reg="Deming", method.ci="analytical",
mref.name = "serum.crea", mtest.name = "plasma.crea", na.rm=TRUE )
calcResponse(model, x.levels=c(1,2,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.