normalize_function {DEXiR}R Documentation

normalize_function

Description

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

Usage

normalize_function(method = EnumEvalMethod, norm = NULL)

Arguments

method

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

norm

Some normalization function of the form ⁠function(num_vector)⁠, or NULL.

Value

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

"set":

norm_none()

"prob":

norm_sum()

"fuzzy":

norm_none()

"fuzzynorm":

norm_max()

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

See Also

evaluate, norm_none(), norm_max(), norm_sum(),


[Package DEXiR version 1.0.2 Index]