setOUT: Reset the outcome of configurations in a truthTable

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/truthTable.R

Description

To manually change the outcome of configurations in a truthTable.

Usage

1
setOUT(x, rownames, value)

Arguments

x

a truthTable.

rownames

character vector, rownames of the configurations to be changed.

value

the new vaule,one of '1', '0', '-9' or '?'.

Details

Sometimes, researcher want to override the outcome for theoretical reasons. This function provides a shortcut so the researchers do not have to mess with the internal structure of a truthTable. This is inspired by fsQCA (2.5) which require the researcher to decide the outcome manually or semi-automatically.

Should note that "freq1" and "freq0" are not affected, so QCA methods reliant on these two pieces of information might not suitable any more.

Value

A new truthTable with a new outcome.

Author(s)

Ronggui HUANG

See Also

consistGap

Examples

1
2
3
4
fst <- fs_truthTable(Lipset_fs, "Survived.FZ",
                c("Developed.FZ","Urban.FZ","Literate.FZ","Industrial.FZ","Stable.FZ"),
                cases="Country",consistency_cutoff=0.7)
setOUT(fst,"240","0")

QCA3 documentation built on May 31, 2017, 2:14 a.m.