plot.pooled.sim: Method for plotting pooled simulations by confidence...

Description Usage Arguments Value Author(s)

Description

Plot pooled simulated quantities of interest.

Usage

1
2
3
4
  ## S3 method for class 'pooled.sim'
plot(x, qi="ev", var=NULL, ..., main = NULL, sub = NULL, 
  xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL, legcol="gray20", col=NULL, leg=1,
   legpos=NULL, ci=c(80,95,99.9))

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

main

A character-string, specifying the main title of the plot

sub

A character-string, specifying the sub-title of the plot

xlab

A character-string, specifying the label for the x-axis

ylab

A character-string, specifying the label for the y-axis

xlim

A vector of length 2, specifying the left-most and right-most values for the plot

ylim

A vector of length 2, specifying the bottom-most and top-most values for the plot

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”

ci

A numeric triple, specifying the three levels to plot confidence intervals for, scaled 0 to 100

Value

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

Author(s)

James Honaker, adapted by Matt Owen mowen@iq.harvard.edu


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.