MCResult.calcResponse: Calculate Response with Confidence Interval.

Description Usage Arguments Value See Also Examples

View source: R/MCResultMethods.r

Description

Calculate Response Intercept + Slope * Refrencemethod with Corresponding Confidence Interval

Usage

1
MCResult.calcResponse(.Object, x.levels, alpha, ...)

Arguments

.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-alpha)% confidence level of the confidence interval (Default is 0.05).

...

further parameters

Value

response and corresponding confidence interval for each point in vector x.levels.

See Also

calcBias

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#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))

mcr documentation built on May 30, 2017, 6:15 a.m.