pimdata | R Documentation |
A function that displays each case's set membership scores in each sufficient term, the solution formula, and the outcome from an object of class "qca".
pimdata(results, outcome, sol = 1, ...)
results |
An object of class "qca". For performing pimdata of the sufficient solution for the negated outcome one must only use the |
outcome |
A character string with the name of the outcome in capital letters. When performing pimdata of the sufficient solution for the negated outcome one must only use the |
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. |
... |
Deprecated arguments (neg.out, use.tilde) |
A table with set memberships.
solution_formula |
The solution formula. |
out |
Membership in the outcome. |
Ioana-Elena Oana and Juraj Medzihorsky
minimize
pimplot
# Import your data. For example:
data(SCHF)
# Get the parsimonious solution:
sol_yp <- minimize(SCHF, outcome = "EXPORT",
conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
incl.cut = .9,
include = "?",
details = TRUE, show.cases = TRUE)
# 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))
# Get the prime implicants table for the parsimonious solution:
pimdata(results = sol_yp, outcome = "EXPORT")
# Get the prime implicants table for the first intermediate solution:
pimdata(results = sol_yi, outcome = "EXPORT", sol = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.