Description Usage Arguments Details Value Note Author(s) References See Also Examples
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.
1 | decomposer(X)
|
X |
...dataframe, if checking(X)=1 the decomposed version of |
See examples
In case checking(X)=1 decomposer
returns a dataframe with (nrow(X+1))-rows (see [1]), otherwise NA is returned.
In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
Wolfgang Trutschnig <wolfgang@trutschnig.net>, Asun Lubiano <lubiano@uniovi.es>
[1] Gonzalez-Rodriguez, G., Colubi, A., Trutschnig, W.: Simulation of fuzzy random variables, Inf.Sci., 179(5), pp. 642-653 (2009)
1 2 3 4 5 | #Example:
data(XX)
A<-decomposer(XX[[2]])
A<-decomposer(XX[[1]])
head(A)
|
coor alpha
1 0.5847283 0.0000000
2 0.1502657 0.1111111
3 0.1146021 0.2222222
4 0.1014701 0.3333333
5 0.0978677 0.4444444
6 0.1014701 0.5555556
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.