Learn R Programming

QCA (version 0.2-0)

factorize: Factorize a QCA solution using common literals

Description

Factorizes the outcome of a solution found by the Quine-McCluskey algorithm

Usage

factorize(my.string, use.letters=TRUE,
          sort.by.literals=FALSE, sort.by.number=FALSE)

Arguments

my.string
a string which contains a sequence of literals
use.letters
specify whether conditions' names are simple letters
sort.by.literals
sort results by the largest number of literals as common factor
sort.by.number
sort results by the largest number of elements that have been factorized

References

Ragin, Charles C. 1987 The Comparative Method. Moving beyond qualitative and quantitative strategies, Berkeley: University of California Press

See Also

'qmcc'

Examples

Run this code
factorize("AB + AC + CD")

factorize("one*TWO*four + one*THREE + THREE*four", use.letters=FALSE)

Run the code above in your browser using DataLab