Learn R Programming

QCA (version 0.4-0)

demoChart: Create the prime implicants chart

Description

This function creates a chart having the prime implicants on the rows and the observed combinations of conditions on the columns. It is useful to determine visually which prime implicant (if any) is essential. The chart is subsequently processed algorithmically to further reduce the reduntant prime implicants. This function is for demonstration purposes only. The internal function createChart() is faster but its arguments are more complex.

Usage

demoChart(rows, columns)

Arguments

rows
a vector of strings, containing the prime implicants
columns
a vector of strings, containing all combinations of conditions from the original data

Value

  • a logical matrix showing which conditions from the (minimized) prime implicants are found in which columns

References

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

See Also

'prettyTable'

Examples

Run this code
chart <- demoChart(c("A", "B", "c"), c("ABC", "Abc", "AbC", "aBc"))

prettyTable(chart)

Run the code above in your browser using DataLab