logicFS (version 1.42.0)

getMatEval: Evaluate Prime Implicants

Description

Computes the values of prime implicants for observations for which the values of the variables composing the prime implicants are available.

Usage

getMatEval(data, vec.primes, check = TRUE)

Arguments

data
a data frame in which each row corrsponds to an observation, and each column to a binary variable.
vec.primes
a character vector naming the prime implicants that should be evaluated. Each of the variables composing these prime implicants must be represented by one column of data.
check
should some checks be done before the evaluation is performed? It is highly recommended not to change the default check = TRUE.

Value

a matrix in which each row corresponds to an observation (the same observations in the same order as in data, and each column to one of the prime implicants.