Description Usage Arguments Value Author(s)
Plot confidence intervals of simulated quantities of interest, across a range of a variable.
1 2 3 4 |
x |
A ‘sim’ object |
qi |
a character-string specifying the quantity of interest to plot: "ev" expected values, "pv" predicted values, "fd" first differences |
var |
The variable to be used on the x-axis |
... |
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 vector of length up to 3, specifying the three confidence interval levels to plot on the graph (where confidence is expressed on the scale 0-100). |
the current graphical parameters. This is subject to change in future implementations of Zelig
James Honaker, adapted by Matt Owen mowen@iq.harvard.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.