View source: R/MCResultJackknifeMethods.r
MCResultJackknife.plotwithRJIF | R Documentation |
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.
MCResultJackknife.plotwithRJIF(.Object)
.Object |
object of class "MCResultJackknife" or "MCResultResampling" |
No return value
Efron, B. (1990) Jackknife-After-Bootstrap Standard Errors and Influence Functions. Technical Report , N 134.
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.