boolplot {boolean} | R Documentation |
This function plots the probability of the outcome as a function of an explanatory variable or the change in an explanatory variable.
boolplot(z.out, variable, delta = 0, suppression.factor = FALSE, CI = 95, truehist = TRUE, legend = TRUE, plot.both = FALSE, polygon = FALSE, yscale = NULL, ...)
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 . |
Nothing is returned.
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
Braumoeller, Bear F. (2003) "Causal Complexity and the Study of Politics." Political Analysis 11(3): 209-233.