Description Usage Arguments Details Value Note Author(s) See Also Examples
Given a list XX
of polygonal fuzzy numbers the function first checks (1) if each element of the list is in the correct form (tested by checking
) and (2) if the alpha-levels of all elements in the list coincide. If these two conditions are fulfilled the levelwise Minkowski-sum of all elements in the sample XX
will be returned. If not the translator
function can be used to transform the elements of the list in the correct format.
1 |
XX |
...list of polygonal fuzzy numbers (the function implicitly checks the conditions) |
pic |
...numeric, if |
See examples
Given input XX
in the correct format the function returns the Minkowski sum of the polygonal fuzzy numbers contained in the list.
In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
Wolfgang Trutschnig <wolfgang@trutschnig.net>, Asun Lubiano <lubiano@uniovi.es>
See Also checking
, translator
, Mmean
1 2 3 4 5 6 7 8 9 10 11 12 13 | #Example 1:
X<-data.frame(x=c(0,1,1.5,3),alpha=c(0,1,1,0))
Y<-data.frame(x=c(1.25,2.75,2.75,5),alpha=c(0,1,1,0))
sum<-Msum(list(X,Y))
sum
#Example 2:
data(XX)
X<-translator(XX[[1]],50)
Y<-translator(XX[[2]],50)
Z<-translator(XX[[3]],50)
YY<-list(X,Y,Z)
M<-Msum(YY)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.