plot.blim | R Documentation |
Plots BLIM residuals against fitted values.
## S3 method for class 'blim'
plot(x, xlab = "Predicted response probabilities",
ylab = "Deviance residuals", ...)
x |
an object of class |
xlab , ylab , ... |
graphical parameters passed to plot. |
The deviance residuals are plotted against the predicted response probabilities for each response pattern.
blim
, residuals.blim
.
## Compare MD and MDML estimation
data(DoignonFalmagne7)
blim1 <- blim(DoignonFalmagne7$K, DoignonFalmagne7$N.R, method="MD")
blim2 <- blim(DoignonFalmagne7$K, DoignonFalmagne7$N.R, method="MDML")
par(mfrow = 1:2) # residuals versus fitted values
plot(blim1, main = "MD estimation", ylim = c(-4, 4))
plot(blim2, main = "MDML estimation", ylim = c(-4, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.