QCAdiff: QCA Case Difference

Description Usage Arguments Value Examples

Description

Provides a data frame of all cases removed from the final QCA model object, after applying recommendations from brQCA.

Usage

1
QCAdiff(x, y, show = FALSE)

Arguments

x

name of one QCA model object.

y

name of a second QCA model object.

show

Logical, use to show the cases in the solution set for each QCA model object. Default set to show=F.

Value

Shows the cases excluded/removed from the final, more robust QCA model object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
data(rallies)
P<-rallies$P
R<-rallies$R
C<-rallies$C
B<-rallies$B

qca.data<-data.frame(P,R,C,B)
rownames(qca.data)<-rownames(rallies)
truth<-truthTable(qca.data,outcome="P",sort.by="incl",incl.cut1=0.2,show.cases=TRUE,n.cut=1)
mod1<-minimize(truth,details=TRUE,show.cases=TRUE)
mod1

truth2<-truthTable(qca.data,outcome="P",sort.by="incl",incl.cut1=0.7,show.cases=TRUE,n.cut=3)
mod2<-minimize(truth2,details=TRUE,show.cases=TRUE)
mod2

QCAdiff(mod1,mod2,show=FALSE)

braQCA documentation built on May 2, 2019, 6:28 a.m.