MCResultJackknife.plotwithRJIF: Plotting the Relative Jackknife Influence Function

View source: R/MCResultJackknifeMethods.r

MCResultJackknife.plotwithRJIFR Documentation

Plotting the Relative Jackknife Influence Function

Description

The function draws reference method vs. test method as scatter plot. Observations with high influence (relative jackknife influence function is greater than 2) are highlighted as red points.

Usage

MCResultJackknife.plotwithRJIF(.Object)

Arguments

.Object

object of class "MCResultJackknife" or "MCResultResampling"

Value

No return value

References

Efron, B. (1990) Jackknife-After-Bootstrap Standard Errors and Influence Functions. Technical Report , N 134.

Examples

    #library("mcr")
    data(creatinine,package="mcr")
    x <- creatinine$serum.crea
    y <- creatinine$plasma.crea
    # Deming regression fit.
    # The confidence intervals for regression coefficients
    # are calculated with jackknife method
    model <- mcreg( x,y,error.ratio=1,method.reg="Deming", method.ci="jackknife",
                     mref.name = "serum.crea", mtest.name = "plasma.crea", na.rm=TRUE )
    plotwithRJIF(model)

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