Learn R Programming

LogicOpt (version 1.0.0)

print_primes_tt: Print the Primes from logicopt(mode="primes")

Description

This function prints the results from logicopt(..,,mode="primes") option.

Usage

print_primes_tt(primes, eqn = FALSE, n_in, n_out)

Arguments

primes
An R data frame table generated by logicopt(...,mode="primes").
eqn
Print in equation format. Default is FALSE.
n_in
Number of inputs in the primes truth table.
n_out
Number of outputs in the primes truth table.

Value

None

Examples

Run this code
data(l.small)
ptt <- logicopt(l.small,n_in=4,n_out=3,find_dc=TRUE,mode="primes")
print_primes_tt(ptt,eqn=TRUE,4,3) 

Run the code above in your browser using DataLab