simulations.plot: Plot Quantities of Interest in a Zelig-fashion

Description Usage Arguments Value Author(s)

View source: R/plots.R

Description

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

Usage

1
2
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 documentation built on Jan. 8, 2021, 2:26 a.m.