prepCorners: prepCorners

Description Usage Arguments Value

Description

prepCorners makes a dataframe containing the five numbers needed for each path in order to draw a deadNettle plot

Usage

1
prepCorners(data, solution, outcomeCol, ruleOut = "0=0;1=1")

Arguments

data

is the raw data

solution

is the QCApro output list from eQMC() function

outcomeCol

is the original outcome column

ruleOut

is the rule for recoding the target outcome in car::recode format (so if you looked at avoiding an outcome you need to use "0=1;1=0")

Value

A list of componments

pimChart

The prime implicants table

pimCorners

The five numbers needed to draw the fourCorners plot for each of the paths. Counts are the number of cases with each outcome.

PATHOUT

The number of cases on the path and with the outcome. When this is proportionally large, most of the cases can be explained by this configuration.

OTHOUT

The number of cases not on the path, but with the outcome. Cases not covered by this configuration.

PATHNOT

The number of cases on the path, but without the outcome. Counterfactuals.

OTHNOT

The number of cases not on the path, but without the outcome. Irrelevant.

UNIQOUT

The number of cases with the outcome that are uniquely covered by this path.


cognopod/corners documentation built on May 12, 2021, 9:25 a.m.