Learn R Programming

LogicOpt (version 1.0.0)

QCAtt2LOtt: Create logicopt tt from QCA tt

Description

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

Usage

QCAtt2LOtt(qcatt)

Arguments

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

Value

truth table for logicopt()

Examples

Run this code
## 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)

Run the code above in your browser using DataLab