Usage
binned.plot(x ,y, nclass=floor(sqrt(length(x))),
xlab="Expected Values", ylab="Average residual",
main="Binned residual plot",
cex.pts=0.8, col.pts=1, col.int="gray")
Arguments
x
The expected values from the logistic regression.
y
The residuals values from logistic regression (observed values
minus expected values).
nclass
Number of categories (bins) based on their fitted values in which
the data are divided, default is floor(sqrt(length(x))).
xlab
a label for the x axis, default is "Expected Values".
ylab
a label for the y axis, default is "Average residual".
main
a main title for the plot, default is "Binned residual plot".
See also title
.
cex.pts
The size of points, default=0.8.
col.pts
color of points, default is black
col.int
color of intervals, default is gray