50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

QCAfalsePositive (version 1.1.1)

plot.fsQCApt: Plot Results of fsQCA Permutation Test

Description

Plots distributions of consistencies and counterexamples from permutation tests of fsQCA data, including confidence intervals adjusted to account for multiple inference. Also prints observed consistency values and number of counterexamples as black dots along the x-axis, for comparison.

Usage

"plot"(x, y = x$config.names, statistic = "both", ...)

Arguments

x
Object returned by fsQCApermTest.
y
A vector of configurations to examine. Default behavior is to examine all configurations.
statistic
The statistic to examine (consistency, counterexamples, or both).
...
Additional parameters to pass on.

Value

Plots of distributions of consistencies, counterexamples, or both.

Examples

Run this code
data(social.revolutions)
attach(social.revolutions)

intersect <- pmin(breakdown, pop.ins)
intersect2 <- pmin(breakdown, (1-pop.ins))
intersect3 <- pmin((1-breakdown), pop.ins)
intersect4 <- pmin((1-breakdown), (1-pop.ins))

test <- fsQCApermTest(y=soc.rev, configs=list(BI=intersect, Bi=intersect2,
   bI=intersect3, bi=intersect4), total.configs=4)
plot(test)
plot(test, "bi", statistic="consistency")
plot(test, c("BI", "Bi"), statistic="both")
plot(test, statistic="consistency")
plot(test, "BI")

Run the code above in your browser using DataLab