Description Usage Arguments Details Value Note Author(s) See Also Examples
Given a sample XX of polygonal fuzzy numbers the Minkowski-mean of the sample is calculated. The function fist calls Msum to check if XX has the correct format and, in case yes, sc_mult is used to calculate the Minkowski-mean of the fuzzy sample XX. If pic=1 then the sample and its mean are plotted, otherwise no plot is produced.
1 |
XX |
...should be a list of polygonal fuzzy numbers (the functions implicitly checks the conditions) |
pic |
...numeric, if |
See examples
Given input XX in the correct format the function returns the Minkowski mean of the polygonal fuzzy numbers contained in the list XX.
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 as checking, translator, Msum, sc_mult, Bvar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #Example 1:
data(XX)
A<-Mmean(XX,1)
X<-translator(XX[[1]],50)
Y<-translator(XX[[2]],50)
Z<-translator(XX[[3]],50)
YY<-list(X,Y,Z)
A<-Mmean(YY,pic=1)
#Example 2:
data(Trees)
Species1_Mean<-Mmean(Trees[[1]],1)
Species1_Mean
Species2_Mean<-Mmean(Trees[[2]],1)
Species2_Mean
Species3_Mean<-Mmean(Trees[[3]],1)
Species3_Mean
|
[1] "use translator function to assure that list elements are compatible (same alpha levels)"
x alpha
1 2.580451 0
2 2.984962 1
3 3.353383 1
4 3.736842 0
x alpha
1 1.955046 0
2 2.288073 1
3 2.620183 1
4 3.055963 0
x alpha
1 2.424324 0
2 2.829730 1
3 3.170270 1
4 3.537838 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.