upset_conditions: Aggregation of individual conditions over partition-specific...

Description Usage Arguments Value Examples

View source: R/upset_conditions.R

Description

Models that have been derived for individual partitions are first decomposed into conditions, that is single conditions or conditions that are INUS (insufficient conditions that are necessary parts of a conjunction that is unnecessary and sufficient). The individual conditions are aggregated using UpSet plots to determine how frequent they are individually and in combination.

Usage

1

Arguments

df

Dataframe created with partition_min or partition_min_inter.

nsets

Number of sets to include in plot (default is 5).

Value

An UpSet plot produced with upset.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(Grauvogel2014)
GS_pars <- partition_min(
 dataset = Grauvogel2014,
 units = "Sender",
 cond = c("Comprehensiveness", "Linkage", "Vulnerability",
          "Repression", "Claims"),
 out = "Persistence",
 n_cut = 1, incl_cut = 0.75,
 solution = "P",
 BE_cons = rep(0.75, 3),
 BE_ncut = rep(1, 3))
upset_conditions(GS_pars, nsets = 5)

QCAcluster documentation built on Oct. 26, 2021, 5:06 p.m.