Learn R Programming

DEXiR (version 1.0.2)

or_function: or_function

Description

Determine the function to be used in the disjunctive aggregation step of evaluate().

Usage

or_function(method = EnumEvalMethod, or = NULL)

Value

Returns the function or if not NULL. Otherwise, it determines the result depending on method:

"set":

function(x) 1

"prob":

sum

"fuzzy":

max

"fuzzynorm":

max

Fails with an error if the result is not an R function.

Arguments

method

One of: "set" (default), "prob", "fuzzy" or "fuzzynorm".

or

Some disjunctive aggregation function of the form function(num_vector), or NULL.

See Also

evaluate, and_function().