l.partybans.0: Logicopt truth table created from "partybans.csv" dataset

Description Usage Format Source Examples

Description

l.partybans.0 is an logicopt compatible truth table generated from the QCA dataset "partybans.csv" where output "PB" is 0.

Usage

1

Format

R data frame table

Source

compass.org website

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Not run: 
# Read raw QCA dataset from csv file
inpath <- system.file("extdata/raw_qca/partybans.csv", package="LogicOpt")
partybans <- read.csv(inpath,row.names=1,na="")

# Load QCA package 
library(QCAGUI) 

# Create the QCA truth table 
q.partybans.0 <- truthTable(partybans, conditions = c("C","F","T","R","V"), outcome = "PB{0}")

# Create the logicopt  truth table
l.partybans.0 <- QCAtt2LOtt(q.partybans.0)

## End(Not run)

# Load up logicopt truth table 
data(l.partybans.0)

# Optimize and print logicopt truth table
partybans0 <- logicopt(l.partybans.0,5,1,find_dc=TRUE,mode="multi-min")
print_multi_tt(partybans0,eqn=TRUE,n_in=5,n_out=1,QCA=TRUE)

Example output

Loading required package: QCA

To cite this package in publications, please use:
  Dusa, Adrian (2007) User manual for the QCA(GUI) package in R.
  Journal of Business Research 60(5), 576-586.

To run the graphical user interface, use: runGUI()

NOTE: Found multiple function names and object type conflicts with package QCApro.
      To avoid confusion, please uninstall it before using this software, with:
      uninstall("QCApro")

M1: C{2}*T{1}*R{0}*V{1} + C{2}*T{0} <=> PB{0}
M2: C{2}*F{0}*T{0}*R{0} + C{2}*F{0}*T{0}*V{1} + C{2}*F{0}*T{1}*V{1} <=> PB{0}
M3: C{2}*F{0}*T{0}*R{0} + C{2}*T{0}*V{1} + C{2}*T{1}*V{1} <=> PB{0}

LogicOpt documentation built on May 30, 2017, 5:08 a.m.