# QCA

An extensive set of functions to perform Qualitative Comparative Analysis: crisp sets (csQCA), temporal (tQCA), multivalue (mvQCA) and fuzzy sets (fsQCA), using a GUI - graphical user interface. QCA is a methodology that bridges the qualitative and quantitative divide in social science research. It uses a Boolean algorithm that results in a minimal causal combination which explains a given phenomenon.

## License

The package QCA is licensed under the GPLv3, with additional licences for external libraries (see files in the inst directory for additional details)

## Help topics

- `QCA-package`
  QCA: A Package for Qualitative Comparative Analysis

### Functions:

- `calibrate`
  Calibrate raw data to crisp or fuzzy sets
- `deMorgan`
  Negate Boolean expressions
- `eqmcc`
  QCA minimization using the enhanced Quine-McCluskey algorithm
- `export`
  Export a dataframe to a file or a connection
- `factorize`
  Factorize Boolean expressions
- `findTh`
  Find calibration thresholds
- `fuzzyand, fuzzyor`
  Logical operations
- `Implicant matrix functions: allExpressions, createMatrix, getRow`
  Functions Related to the Implicant Matrix
- `Interpret SOP expression: translate, compute, findRows, sop`
  Functions to interpret a SOP expression
- `intersection`
  Intersect two expressions
- `PI chart functions: makeChart, solveChart`
  Create and solve a prime implicants chart
- `pof`
  Calculate parameters of fit
- `recode`
  Recode a variable
- `retention`
  Compute the retention probability of a csQCA solution
- `runGUI`
  run the GUI shiny app for the QCA package
- `superSubset, findSubsets, findSupersets`
  Functions to find subsets or supersets
- `truthTable`
  Create a truth table
- `Xplot`
  Display the distribution of points for a single condition
- `XYplot`
  Create an XY plot

### Datasets:

- `Cebotari and Vink`(CVR, CVF)
  Ethnic protest in Europe
- `Lipset`(LR, LC, LM, LF)
  Lipset's indicators for the survival of democracy
- `Ragin and Strand`(RS)
  University recognition of a graduate student union
- `Legacy datasets`
  Legacy datasets

## Dependencies

- Imports: methods, lpSolve, shiny, venn (>= 1.2), fastdigest

## Authors

- Adrian Dusa [aut, cre, cph]
- Alrik Thiem [aut, from version 1.0-0 to version 1.1-3]
- jQuery Foundation [cph]
- jQuery contributors [ctb, cph]
- Vasil Dinkov [ctb, cph]
- Dmitry Baranovskiy [ctb, cph]
- Emmanuel Quentin [ctb, cph]
- Jimmy Breck-McKye [ctb, cph]