Learn R Programming

LogicOpt (version 1.0.0)

print_multi_tt: Print logicopt() results

Description

This function prints the the results from logicopt() in truth table or equation format.

Usage

print_multi_tt(esp_multi, eqn = FALSE, n_in, n_out, max_sol = 50, QCA = FALSE)

Arguments

esp_multi
An R data frame table representing a truth table with 1 or more solutions.
eqn
Print in equation format. Default is FALSE.
n_in
Number of inputs in the esp_multi truth table.
n_out
Number of outputs in the esp_multi truth table.
max_sol
Maximum number of solutions to print. Default is 50.
QCA
Attempt to print out in a QCA like format

Value

None

Examples

Run this code
data(l.partybans.0)
tt <- logicopt(l.partybans.0,n_in=5,n_out=1,find_dc=TRUE,mode="multi-full")
print_multi_tt(tt,5,1,eqn=TRUE,max_sol=5) 

Run the code above in your browser using DataLab