Learn R Programming

Zelig (version 4.1-1)

plot.ci: Method for plotting pooled simulations by confidence intervals

Description

Plot confidence intervals of pooled simulated values.

Usage

## S3 method for class 'ci':
plot(x, qi="ev", var=NULL, ...,
    legcol="gray20", col=NULL, leg=1, legpos=NULL)

Arguments

x
A `sim' object
qi
a character-string specifying the quantity of interest to plot
var
The variable to be used on the x-axis. Default is the variable across all the chosen values with smallest nonzero variance
...
Parameters to be passed to the `truehist' function which is implicitly called for numeric simulations
legcol
``legend color'', an valid color used for plotting the line colors in the legend
col
a valid vector of colors of at least length 3 to use to color the confidence intervals
leg
``legend position'', an integer from 1 to 4, specifying the position of the legend. 1 to 4 correspond to ``SE'', ``SW'', ``NW'', and ``NE'' respectively
legpos
``legend type'', exact coordinates and sizes for legend. Overrides argment ``leg.type''

Value

  • the current graphical parameters. This is subject to change in future implementations of Zelig