QCAradar: Function for displaying a radar chart.

View source: R/QCAradar.R

QCAradarR Documentation

Function for displaying a radar chart.

Description

Function displays a radar chart for an object of class "qca" or for a boolean expression.

Usage

QCAradar(results, outcome= NULL, fit= FALSE, sol = 1)

Arguments

results

An object of class "qca". For performing radar charts of the sufficient solution for the negated outcome one must only use the minimize() result from the sufficiency analysis of the negated outcome. The argument results can also be a boolean expression of the form e.g. "A*~B + ~B*C".

outcome

A character string with the name of the outcome in capital letters when results is of type 'qca'. When performing radar charts of the sufficient solution for the negated outcome one must only use the minimize()result from the sufficiency analysis of the negated outcome in the argument results. Changing the name in the argument outcome or using a tilde is not necessary.

fit

Logical. Print parameters of fit when results is of type 'qca'

sol

A vector where the first number indicates the number of the conservative or parsimonious solution according to the order in the "qca" object. For more complicated structures of model ambiguity, the intermediate solution can also be specified by using a character string of the form "c1p3i2" where c = conservative solution, p = parsimonious solution and i = intermediate solution.

Author(s)

Ioana-Elena Oana

References

Maerz, F. Seraphine. 2017. "Pathways of Authoritarian Persistence." Paper presented at the CEU Annual Doctoral Conference

See Also

minimize

Examples


# Import data. 
# For example:

data(SCHF)

# Get the intermediate solution:

sol_yi <- minimize(SCHF, outcome = "EXPORT",
                conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
                incl.cut = .9, 
                include = "?", 					   
                details = TRUE, show.cases = TRUE, dir.exp = c(0,0,0,0,0,0))

# Display radar chart for the intermediate solution:

QCAradar(results = sol_yi, outcome = "EXPORT", fit=TRUE, sol = 1)

# Show a radar chart for the following boolean expression "A + ~B*Z*~C"

QCAradar(results = "A + ~B*Z*~C")


nenaoana/SetMethods documentation built on April 7, 2023, 2:20 p.m.