boolplot {boolean}R Documentation

Plot Probabilities from Boolean Models

Description

This function plots the probability of the outcome as a function of an explanatory variable or the change in an explanatory variable.

Usage

boolplot(z.out, variable, delta = 0, suppression.factor = FALSE, CI = 95,
         truehist = TRUE, legend = TRUE, plot.both = FALSE, polygon = FALSE, yscale = NULL, ...)

Arguments

z.out An object produced by Zelig.
variable A character vector indicating which explanatory variable should constitute the x-axis of the plot.
delta The amount by which to perturb the sample values of variable when plotting the change in probability as a function of the change in variabel. If plot.both = TRUE, then delta must be non-zero.
suppression.factor If true, then the complement of the probability of the outcome constitutes the y-axis.
CI Confidence interval for (the change in) the probability of the outcome. Set this equal to any negative number to suppress confidence intervals.
truehist If TRUE, a histogram for variable is included in the plot.
legend If TRUE, a legend is included in the plot.
plot.both If TRUE, the probability of the outcome is plotted as a function of the level of variable and the change in the probability of the outcome is plotted as a function of variable plus delta.
polygon If TRUE, then the confidence intervals as filled as ploygons.
yscale If not NULL, then it should be a numeric vector of length two indicating the lower and upper limits of the y-axis in the plot.
... Further arguments passed to plot or setx.

Value

Nothing is returned.

Author(s)

Bear F. Braumoeller, Harvard University, braumoeller.1@polisci.osu.edu,
Ben Goodrich, Harvard University, goodrich@fas.harvard.edu, and
Jacob Kline, Harvard University, jkline@fas.harvard.edu

References

Braumoeller, Bear F. (2003) "Causal Complexity and the Study of Politics." Political Analysis 11(3): 209-233.


[Package boolean version 2.0-2 Index]