Learn R Programming

QCA (version 0.6-5)

factorize: Factorize a QCA solution

Description

This function finds all combinations of common factors of literals in a QCA solution

Usage

factorize(my.string, splitmethod="", sort.by.literals=FALSE, sort.by.number=FALSE)

Arguments

my.string
a string which contains a sequence of literals
splitmethod
string, to declare the separator of the input string
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, eqmcc

Examples

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

factorize("one*TWO*four + one*THREE + THREE*four", splitmethod="*")

Run the code above in your browser using DataLab