| TransfTra {FuzzyStatTra} | R Documentation |
Transformation of a matrix of trapezoidal fuzzy numbers into an array
Description
This function transforms a matrix of dimension n x 4 containing n trapezoidal fuzzy numbers characterized by their four values inf0,inf1,sup1,sup0 into an array of dimension nl x 3 x n containing these n fuzzy numbers characterized by means of nl equidistant \alpha-levels each (by default nl=101). The function first checks if the input matrix F is given in the correct form (tested by checkingTra). In case yes, the function returns an array given in the format explained in the function checking.
Usage
TransfTra(F, nl = 101)
Arguments
F |
matrix of dimension |
nl |
positive integer, by default |
Details
See examples
Value
The function returns an array of dimension nl x 3 x n containing the n trapezoidal fuzzy numbers characterized by means of nl \alpha-levels. The first column of the array are the \alpha-levels, the second one their infimum values and the third one their supremum values. The correct format of the array is explained in the function checking.
Note
In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
Author(s)
Asun Lubiano <lubiano@uniovi.es>, Sara de la Rosa de Saa <rosasara@uniovi.es>
See Also
Examples
# Example 1:
F=SimulCASE3(10)
TransfTra(F,200)
# Example 2:
F=matrix(c(1,1,0,2,3,4,5,6),nrow=2)
TransfTra(F)