plot.logistic.fit.fnc {languageR} | R Documentation |
This function plots observed proportions against mean predicted probabilities. For a good fit, points should be approximately on a straight line.
plot.logistic.fit.fnc(x = dative.glmm, data = dative, ...)
x |
A logistic regression model fitted with lmer or
lrm . |
data |
The data set to which the model was fitted. |
... |
other parameters to be passed through to plotting functions. |
A plot is produced on the graphics device.
R. H. Baayen
data(dative) library(lme4, keep.source=FALSE) dative.glmm = lmer(RealizationOfRecipient ~ AccessOfTheme + AccessOfRec + LengthOfRecipient + AnimacyOfRec + AnimacyOfTheme + PronomOfTheme + DefinOfTheme + LengthOfTheme + SemanticClass + Modality + (1|Verb), data = dative, family = "binomial", method = "PQL") plot.logistic.fit.fnc (dative.glmm, dative)