plot.matchedwake {mwa}R Documentation

Plot Function for Objects of Class matchedwake

Description

Overloads the default plot() for objects of class matchedwake. Returns a contour plot: The lighter the color the larger the estimated treatment effect. The corresponding standard errors are indicated by shading out some of the estimates: No shading corresponds to p<alpha1 for the treatment effect in the diff-in-diffs analysis. Dotted lines indicate p-values between alpha1 and alpha2 and full lines indicate p>alpha2. The cells indicating effect size and significance level are arranged in a table where each field corresponds to one specific combination of spatial and temporal sizes.

Usage

## S3 method for class 'matchedwake'
plot(x, zlim = NA, plotNAs = TRUE, ...)

Arguments

x

object of class matchedwake.

zlim

Manually sets the range of the color map of the contour plot, required format is c(MINIMUM,MAXIMUM). Default = NA, i.e. the range is automatically set from the MINIMUM and MAXIMUM values of the estimates.

plotNAs

Boolean indicating whether or not to visualize NA estimates as “no effect” (i.e. 0). Default = TRUE.

...

further arguments passed to or from other methods.

Author(s)

Sebastian Schutte and Karsten Donnay.

References

Schutte, S., Donnay, K. (2014). “Matched wake analysis: Finding causal relationships in spatiotemporal event data.” Political Geography 41:1-10.

See Also

matchedwake


[Package mwa version 0.4.4 Index]