Learn R Programming

DEXiR (version 1.0.2)

and_function: and_function

Description

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

Usage

and_function(method = EnumEvalMethod, and = NULL)

Value

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

"set":

function(x) 0

"prob":

prod

"fuzzy":

min

"fuzzynorm":

min

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

Arguments

method

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

and

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

See Also

evaluate, or_function().