Given a list XX of polygonal fuzzy numbers the functions first checks (1) if each element of the lists is in the correct form (tested by checking) and (2) if the alpha-levels of all elements coincide. If all conditions are fulfilled the function calculates the chosen (levelwise) quantiles. As in the basic R-function quantile a vector p of quantiles can be calculated. The functions returns a list of quantiles (which are, by definition, fuzzy numbers too).
Usage
Fquantile(XX, p = c(0, 0.25, 0.5, 0.75, 1))
Arguments
XX
...list of polygonal fuzzy numbers with the same alpha levels (the functions implicitly checks the conditions)
p
...numeric vector of probabilities with values in [0,1]
Value
Given correct input XX the function returns a list of quantiles.