or_function {DEXiR}R Documentation

or_function

Description

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

Usage

or_function(method = EnumEvalMethod, or = NULL)

Arguments

method

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

or

Some disjunctive aggregation function of the form ⁠function(num_vector)⁠, 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.

See Also

evaluate, and_function().


[Package DEXiR version 1.0.2 Index]