plot.zelig {Zelig}R Documentation

Graphing Quantities of Interest

Description

The zelig method for the generic plot command generates default plots for sim output with one-observation values in x and x1.

Usage

## S3 method for class 'zelig':
plot(object, alt.col = "red", xlab = "", user.par = FALSE, ...)

Arguments

object stored output from sim. If the x or x1 values stored in the object contain more than one observation, plot.zelig will return an error. For linear or generalized linear models with more than one observation in x and optionally x1, you may use plot.ci.
alt.col alternative color used for contrast in the plots. The primary color is black, and the alternative color is red by defualt. Type colors() to see a list of available alternative colors.
xlab a character string for the x-axis label for all graphs.
user.par a logical value indicating whether to use the default Zelig plotting parameters (user.par = FALSE) or user-defined parameters (user.par = TRUE), set using the par function prior to plotting.
... Additional parameters passed to plot.default. Because plot.zelig primarily produces diagnostic plots, many of these parameters are hard-coded for convenience and presentation.

Value

Depending on the class of model selected, plot.zelig will return an on-screen window with graphs of the various quantities of interest. You may save these plots using the commands described in the Zelig manual (available at http://gking.harvard.edu/zelig).

Author(s)

Kosuke Imai <kimai@princeton.edu>; Gary King <king@harvard.edu>; Olivia Lau <olau@fas.harvard.edu>

See Also

The full Zelig manual at http://gking.harvard.edu/zelig and plot, lines, and par.


[Package Contents]