FuzzyNumbers (version 0.4-6)

evaluate: Evaluate the Membership Function

Description

This function returns the value(s) of the membership function of a fuzzy number at given point(s).

Usage

# S4 method for FuzzyNumber,numeric
evaluate(object, x)

Arguments

object

a fuzzy numbers

x

numeric vector

Value

Returns a numeric vector.

See Also

Other FuzzyNumber-method: Arithmetic, FuzzyNumber-class, FuzzyNumber, alphaInterval, alphacut, ambiguity, as.FuzzyNumber, as.PiecewiseLinearFuzzyNumber, as.PowerFuzzyNumber, as.TrapezoidalFuzzyNumber, as.character, core, distance, expectedInterval, expectedValue, integrateAlpha, piecewiseLinearApproximation, plot, show, supp, trapezoidalApproximation, value, weightedExpectedValue, width

Examples

Run this code
# NOT RUN {
T <- TrapezoidalFuzzyNumber(1,2,3,4)
evaluate(T, seq(0, 5, by=0.5))
# }

Run the code above in your browser using DataCamp Workspace