all.expr {QCA}R Documentation

Create a matrix with all possible combinations of conditions

Description

There are 3^k-1 possible expressions (where k is the number of conditions) for a crisp-set procedure. This function creates a matrix by row-binding the truth tables for all expressions.

Usage

all.expr(column.names, inside=FALSE)

Arguments

column.names a vector of strings, the column names of the dataset
inside if not inside the qmcc function, print the result matrix without NAs

Value

a matrix with 3^k-1 rows

Author(s)

Adrian Dusa
Romanian Social Data Archive, University of Bucharest
adi@roda.ro

References

Ragin, Charles C. 2000 Fuzzy-set social science, Chicago: The University of Chicago Press

Examples

column.names <- c("First", "Second", "Third")
all.expr(column.names)


[Package QCA version 0.1-1 Index]