Learn R Programming

FuzzyStatTra (version 1.0)

Mean:

Description

Given a sample of trapezoidal fuzzy numbers contained in a matrix F, the function calculates the Aumann-type mean of these numbers (which is a trapezoidal fuzzy number too). The function first checks if the input matrix F is given in the correct form (tested by checkingTra).

Usage

Mean(F)

Arguments

F
matrix of dimension n x 4 containing n trapezoidal fuzzy numbers characterized by their four values inf0,inf1,sup1,sup0. The function implicitly checks if the matrix is in the correct form (tested by checkingTra).

Value

The function returns the Aumann-type mean, given as a matrix of dimension 1 x 4.

Details

See examples

References

[1] Sinova, B.; De la Rosa de Saa, S.; Lubiano, M.A.; Gil, M.A.: An overview on the statistical central tendency for fuzzy datasets, International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems 23 (Suppl. 1), pp. 105-132 (2015)

See Also

checkingTra

Examples

Run this code
# Example 1:
F=SimulCASE1(100)
Mean(F)

# Example 2:
F=matrix(c(1,0,2,3),nrow=1)
Mean(F)

# Example 3:
F=matrix(c(1,0,2,3),nrow=2)
Mean(F)

Run the code above in your browser using DataLab