fzarray | R Documentation |
This function constructs a fuzzy array of class fzarray
(and fzn
), which is a list
of fuzzy numbers of class fzn
. It can be used for adding elements to a fuzzy array,
or concatenate several fuzzy arrays.
fzarray(...)
... |
Fuzzy numbers of class |
An object of class fzarray
.
x <- fzn(alpha = c(0, 0.1, 0.5, 0.8, 1),
l = c(1, 3, 3, 4.5, 5),
u = c(12, 10, 9, 6.5, 6))
c <- fuzzyfy(1)
# Construct a fuzzy array with x and c
fza1 <- fzarray(x, c)
# Construct a fuzzy array from crisp values using function fuzzyfy
fza2 <- fuzzyfy(c(1, 2, 3))
# Construct a fuzzy array whose elements are x, c, 1, 2, 3 and x again
fza3 <- fzarray(fza1, fza2, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.