plot.fsQCApt: Plot Results of fsQCA Permutation Test

Description Usage Arguments Value Examples

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

1
2
## S3 method for class 'fsQCApt'
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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")

Example output

Generating permutations for BI...
  Lower-triangular configuration detected...
Generating permutations for Bi...
  Lower-triangular configuration detected...
Generating permutations for bI...
   Upper-triangular configuration detected...
Generating permutations for bi...
   Upper-triangular configuration detected...

QCAfalsePositive documentation built on May 2, 2019, 6:40 a.m.