Learn R Programming

QCAtools R package

About

QCAtools is a small R package to make it more convenient to use the R programming language for Qualitative Comparative Analysis (QCA), a qualitative, but formal research approach based on Boolean algebra. QCAtools provides functions to

  • evaluate and plot Boolean formulae on fuzzy set score data
  • apply Boolean operations to fuzzy set score data
  • compute consistency and coverage measures as used in QCA.

The idea of QCAtools is to allow the user to focus on the logic, the model and the data rather than the programming by treating written Boolean formulae (strings), R functions and data matrices with fuzzy set score values just "as you would expect". In addition, either of them can be plotted to what is called "X-Y-plot" in the QCA community with the simple plot() command for data exploration and hypothesis evaluation.

QCAtools does not provide the Boolean minimization inference algorithm, since this is already implemented in the QCA package. It is designed as an addition to this package and fully compatible with its inputs and outputs.

Copy Link

Version

Install

install.packages('QCAtools')

Monthly Downloads

177

Version

0.2.3

License

GPL (>= 3)

Maintainer

Jirka Lewandowski

Last Published

January 3rd, 2017

Functions in QCAtools (0.2.3)

QCAtools

QCAtools.
consistency

Compute the consistency value
evaluate_dnf

Evaluate a formula
xyplot

Plot fuzzy set score of two sets against each other
formula_to_function

Convert formula to function
plot.qca

Plot the fuzzy set scores of the solution and the outcome against each other
format_dnf

Rewrite a list of clauses to a string containing a Boolean formula in disjunctive normal form
and

And