Usage
plot.betareg(x, which = 1:4, caption = c("Deviance residuals vs indices of obs.",
"Standardized residuals vs indices of obs.", "Generalized leverage vs. Predicted values", "Cook's distance plot"),
panel = points, sub.caption = deparse(x$call), main = "",
ask = prod(par("mfcol")) < length(which) && dev.interactive(),
..., id.n = 3, labels.id = names(residuals(x)), cex.id = 0.75)
Arguments
x
Fitted model by betareg.
which
If a subset of the plots is required, specify a subset of the numbers '1:4'.
caption
Captions to appear above the plots.
panel
Panel function. A useful alternative to 'points' is 'panel.smooth'.
sub.caption
common title-above figures if there are multiple; used as 'sub' (s.'title') otherwise.
main
title to each plot-in addition to the above 'caption'.
ask
logical; if `TRUE', the user is asked before each plot, see `par(ask=.)'.
id.n
number of points to be labelled in each plot, starting with the most extreme.
labels.id
vector of labels, from which the labels for extreme points will be chosen. 'NULL' uses observation numbers.
cex.id
magnification of point labels.