dom {fuzzyreg} | R Documentation |
Real Value Degree of Membership to a Triangular Fuzzy Number
Description
Calculates the degree of membership of a real number to a triangular fuzzy number. The fuzzy number is defined by its central value and the left and right spreads.
Usage
dom(x, TFN)
Arguments
x |
a numeric vector. |
TFN |
a numeric vector of length 3. |
Value
Returns a numeric in interval [0,1]
.
Examples
x <- seq(from = 0, to = 2, length.out = 10)
A <- c(1, 1, 1)
dom(x, A)
[Package fuzzyreg version 0.6.2 Index]