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, NA is returned. The main aim of generator 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 X is returned.

Details

See examples

Value

comp1 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@softcomputing.es>, 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

See also generator, checking

Examples

 data(XX)
 A<-decomposer(XX[[2]])
 A<-decomposer(XX[[1]])

[Package SAFD version 0.02 Index]