Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simulations.plot

Plot Quantities of Interest in a Zelig-fashion


Description

Various graph generation for different common types of simulated results from Zelig

Usage

simulations.plot(y, y1=NULL, xlab="", ylab="", main="", col=NULL, line.col=NULL,
axisnames=TRUE)

Arguments

y

A matrix or vector of simulated results generated by Zelig, to be graphed.

y1

For comparison of two sets of simulated results at different choices of covariates, this should be an object of the same type and dimension as y. If no comparison is to be made, this should be NULL.

xlab

Label for the x-axis.

ylab

Label for the y-axis.

main

Main plot title.

col

A vector of colors. Colors will be used in turn as the graph is built for main plot objects. For nominal/categorical data, this colors renders as the bar color, while for numeric data it renders as the background color.

line.col

A vector of colors. Colors will be used in turn as the graph is built for line color shading of plot objects.

axisnames

a character-vector, specifying the names of the axes

Value

nothing

Author(s)

James Honaker


Zelig

Everyone's Statistical Software

v5.1.7
GPL (>= 3)
Authors
Christine Choirat [aut], Christopher Gandrud [aut], James Honaker [aut], Kosuke Imai [aut], Gary King [aut], Olivia Lau [aut], Robert Treacy [aut, cre], IQSS Harvard University [cph]
Initial release
2020-12-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.