Description Usage Arguments Value Author(s) See Also Examples

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".

1 | ```
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. |

A table with set memberships.

`solution_formula` |
The solution formula. |

`out` |
Membership in the outcome. |

Ioana-Elena Oana and Juraj Medzihorsky

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ```
# 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)
``` |

nenaoana/SetMethods documentation built on Aug. 3, 2018, 1:17 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.