QCAtt2LOtt: Create logicopt tt from QCA tt

Description Usage Arguments Value Examples

Description

This function takes a truth table produced by the package QCAGUI (or QCApro) function truthTable() and creates an logicopt() format truth table.

Usage

1
QCAtt2LOtt(qcatt)

Arguments

qcatt

An R data frame table generated by QCAGUI or QCApro truthTable().

Value

truth table for logicopt()

Examples

1
2
3
4
5
6
7
8
## Not run: 
inpath <- system.file("extdata/raw_qca/partybans.csv", package="LogicOpt")
partybans <- read.csv(inpath,row.names=1,na="")
library(QCAGUI)  
q.partybans.1 <- truthTable(partybans, conditions = c("C","F","T","R","V"), outcome = "PB{1}")
l.partybans.1 <- QCAtt2LOtt(q.partybans.1)

## End(Not run)

Example output

Loading required package: QCA

To cite this package in publications, please use:
  Dusa, Adrian (2019) QCA with R. A Comprehensive Resource.
  Springer International Publishing.

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

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

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