dom | R Documentation |
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.
dom(x, TFN)
x |
a numeric vector. |
TFN |
a numeric vector of length 3. |
Returns a numeric in interval [0,1]
.
x <- seq(from = 0, to = 2, length.out = 10)
A <- c(1, 1, 1)
dom(x, A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.