xy.plot.lab: Function producing enhanced XY plots

Description Usage Arguments Value Author(s) References Examples

View source: R/xy.plot.lab.R

Description

xy.plot.lab produces XY plots and provides values for consistency, Haesebrouck's consistency, coverage, RoN, PRI. Several graphic parameters can be decided by the user.

Usage

1
2
3
4
5
6
xy.plot.lab(x, y, data, 
           labcol = "black",
           main = "XY plot", 
           ylab = "Outcome", 
           xlab = "Condition",
           necessity = FALSE)

Arguments

x

vector containing the condition.

y

vector containing the outcome.

data

The dataset used

labcolor

color of the dots.

main

an overall title for the plot. The default is "XY plot". See ?title.

ylab

a title for the y-axis. The default is "Outcome". See ?title.

xlab

a title for the x-axis. The default is "Condition". See ?title.

necessity

logical. Indicates if the parameters of fit are calculated for a sufficient or necessary condition. The default is FALSE, therefore it calculates the parameters of fit for sufficiency. To get the parameters of fit for necessary conditions set necessity as TRUE.

Value

It returns an enhanced XY plot.

Author(s)

Mario Quaranta and Ioana-Elena Oana.

References

Haesebrouck, T. (2015) Pitfalls in QCA's consistency measure. Journal of Comparative Politics 2:65-80.

Ragin, C. C. (2008) Redesigning Social Inquiry: Fuzzy Sets and Beyond. The Chicago University Press: Chicago and London.

Schneider, C. Q., Wagemann, C. (2012) Set-Theoretic Methods for the Social Sciences, Cambridge Univeristy Press: Cambridge.

Schneider, C. Q., Wagemann, C., Quaranta, M. (2012) How To... Use Software for Set-Theoretic Analysis. Online Appendix to "Set-Theoretic Methods for the Social Sciences". Available at www.cambridge.org/schneider-wagemann

Examples

1
2
3
4
5
6
7
8
9
# Load the Schneider data:

data(SCHF)

# Plot of condition EMP as necessary for outcome EXPORT with case labels 
# and names for the plot and axes:

xy.plot.lab("EMP", "EXPORT", data=SCHF, necessity = TRUE,
            main = "EMP as necessary for EXPORT", ylab = "EXPORT", xlab = "EMP")

nenaoana/SetMethods documentation built on Aug. 3, 2018, 1:17 a.m.