Learn R Programming

DEXiR (version 1.0.2)

normalize_function: normalize_function

Description

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

Usage

normalize_function(method = EnumEvalMethod, norm = 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.

Arguments

method

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

norm

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

See Also

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