Last data update: 2014.03.03

R: Plot method for grouped objects
plot.groupedR Documentation

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.

Author(s)

Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl

See Also

grouped

Examples


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

Results