Learn R Programming

⚠️There's a newer version (0.2.3) of this package.Take me there.

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 QCAGUI package. It is designed as an addition to this package and fully compatible with its inputs and outputs.

Installation

Installation directly from gitlab is possible, when the package devtools is installed:

library(devtools)
install_git("https://gitlab.points-of-interest.cc/jlewando/qcatools.git")

Copy Link

Version

Install

install.packages('QCAtools')

Monthly Downloads

177

Version

0.2.1

License

GPL (>= 3)

Maintainer

Jirka Lewandowski

Last Published

January 13th, 2016

Functions in QCAtools (0.2.1)

format_dnf

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

Plot fuzzy set score of two sets against each other
plot.qca

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

Evaluate a formula
and

And
formula_to_function

Convert formula to function
consistency

Compute the consistency value
QCAtools

QCAtools.