decomposer {SAFD} | R Documentation |
Decomposer
Description
Given a dataframe X
the function first calls checking
in order to test if X
is in the desired format. If yes, the dataframe X
(polygonal fuzzy number) is expressed as a dataframe with (nrow(X)+1) rows as described in the paper [1] below, if no, NULL is returned. The main aim of decomposer
is to provide the simulator-function called generator
with the correct input.
Usage
decomposer(X)
Arguments
X |
...dataframe, if checking(X)=1 the decomposed version of |
Details
See examples
Value
In case checking(X)=1 decomposer
returns a dataframe with (nrow(X+1))-rows (see [1]), otherwise NA is returned.
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)
Wolfgang Trutschnig <wolfgang@trutschnig.net>, Asun Lubiano <lubiano@uniovi.es>
References
[1] Gonzalez-Rodriguez, G., Colubi, A., Trutschnig, W.: Simulation of fuzzy random variables, Inf.Sci., 179(5), pp. 642-653 (2009)
See Also
Examples
#Example:
data(XX)
A<-decomposer(XX[[2]])
A<-decomposer(XX[[1]])
head(A)