Learn R Programming

grouped (version 0.6-0)

plot.grouped: Plot method for grouped objects

Description

Produces the plot of residuals versus the fitted values for a fitted grouped model.

Usage

## S3 method for class 'grouped':
plot(x, B = 100, sub.caption = deparse(formula(x)), ...)

Arguments

x
an object of class grouped.
B
the number of multiple imputations used to estimate the residuals (see residuals.grouped for more info).
sub.caption
a sub-title to be used in the plot.
...
extra graphical parameters to be passed in plot.

See Also

grouped

Examples

Run this code
m <- grouped(cbind(lo, up) ~ treat * x, link = "logit", data = Sdata)
plot(m)

Run the code above in your browser using DataLab