+.fzn | R Documentation |
Sums two fuzzy numbers of class fzn
or one fuzzy number to a crisp number.
Also works for fuzzy arrays of class fzarray
.
fx1 + fx2
fx1 |
First fuzzy (or crisp) number, or fuzzy array. |
fx2 |
Second fuzzy (or crisp) number, or fuzzy array. |
The fuzzy sum (fx1 + fx2) as an object of class fzn
or fzarray
.
x1 <- 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))
x2 <- fzn(alpha = c(0, 0.25, 1),
l = c(1, 3, 5),
u = c(12, 10, 6))
par(mfrow = c(2, 2))
plotfzn(x1, main = "x1")
plotfzn(x2, main = "x2")
plotfzn(x1 + x2, main = "x1 + x2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.