plot.zelig {Zelig} | R Documentation |
The zelig
method for the generic plot
command generates default plots for sim
output with
one-observation values in x
and x1
.
plot(object, alt.col = "red", user.par = FALSE, ...)
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. |
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. |
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).
Kosuke Imai <kimai@princeton.edu>; Gary King <king@harvard.edu>; Olivia Lau <olau@fas.harvard.edu>
The full Zelig manual at
http://gking.harvard.edu/zelig and plot
, lines
,
and par
.