Description Usage Arguments Details Value Note Author(s) References See Also Examples
This function calculates the (\varphi,θ)-wabl/ldev/rdev distance between the fuzzy numbers contained in two arrays, which should be given in the desired format. For this, the function first checks if the input arrays R
and S
are in the correct form (tested by checking
) and if the α-levels of all fuzzy numbers coincide.
1 | Dwablphi(R, S, a = 1, b = 1, theta = 1)
|
R |
array of dimension |
S |
array of dimension |
a |
number >0, by default |
b |
number >0, by default |
theta |
number >0, by default |
See examples
The function returns a matrix of dimension r x s
containing the (\varphi,θ)-wabl/ldev/rdev distances between the fuzzy numbers of the array R
and the fuzzy numbers of the array S
.
In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
Asun Lubiano <lubiano@uniovi.es>, Sara de la Rosa de Saa <rosasara@uniovi.es>
[1] Sinova, B.; de la Rosa de Saa, S.; Gil, M.A.: A generalized L1-type metric between fuzzy numbers for an approach to central tendency of fuzzy data, Information Sciences 242, pp. 22-34 (2013)
[2] Sinova, B.; Gil, M.A.; Van Aelst, S.: M-estimates of location for the robust central tendency of fuzzy data, IEEE Transactions on Fuzzy Systems 24(4), pp. 945-956 (2016)
checking
, DwablphiTra
, Wablphi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Example 1:
F=SimulCASE1(3)
S=SimulCASE1(4)
F=TransfTra(F)
S=TransfTra(S)
Dwablphi(F,S,2,1,1)
# Example 2:
F=SimulCASE1(10)
S=SimulCASE1(10)
Dwablphi(F,S)
# Example 3:
F=SimulCASE1(10)
S=SimulCASE1(10)
F=TransfTra(F)
S=TransfTra(S,50)
Dwablphi(F,S,2,1,1)
|
[,1] [,2] [,3] [,4]
[1,] 5.7334102 7.148418 3.752110 1.084761
[2,] 0.7843838 0.988634 2.584992 5.084093
[3,] 1.1112307 2.502965 3.074500 4.676695
[1] "each fuzzy number should be characterized by means of a matrix with 3 columns: the first column will be the alpha-levels, the second one their infimum values and the third one their supremum values"
[1] "each fuzzy number should be characterized by means of a matrix with 3 columns: the first column will be the alpha-levels, the second one their infimum values and the third one their supremum values"
[1] "the fuzzy numbers of the two arrays must have the same alpha-levels"
Warning message:
In R[, 1, 1] == S[, 1, 1] :
longer object length is not a multiple of shorter object length
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.