StatList {FuzzyStatTraEOO} | R Documentation |
'StatList' defines the common attributes and methods of 'FuzzyNumberList' and 'TrapezoidalFuzzyNumberList'. All methods are empty except for some attribute checking, the child classes are the ones that have to give the implementation for the empty methods.
new()
This method warns the user that this class can not be initialized as it is abstract.
StatList$new()
shows a message telling that this class can not be initialized.
dthetaphi()
This method calculates the mid/spr distance between the numbers contain in two 'StatLists'.
StatList$dthetaphi(s = NA, a = 1, b = 1, theta = 1)
s
can be a FuzzyNumberList or a TrapezoidalFuzzyNumberList.
a
real number > 0, by default a=1. It is the first parameter of a beta distribution which corresponds to a weighting measure on [0,1].
b
real number > 0, by default b=1. It is the second parameter of a beta distribution which corresponds to a weighting measure on [0,1].
theta
real number > 0, by default theta=1. It is the weight of the spread in the mid/spr distance.
a matrix containing the mid/spr distances between the two previous mentioned StatLists.
dwablphi()
This method calculates the (\phi
,\theta
)-wabl/ldev/rdev distance
between the numbers contained in two 'StatLists'.
StatList$dwablphi(s = NA, a = 1, b = 1, theta = 1)
s
can be a FuzzyNumberList or a TrapezoidalFuzzyNumberList.
a
real number > 0, by default a=1. It is the first parameter of a beta distribution which corresponds to a weighting measure on [0,1].
b
real number > 0, by default b=1. It is the second parameter of a beta distribution which corresponds to a weighting measure on [0,1].
theta
real number > 0, by default theta=1. It is the weight of the
ldev and rdev in the (\phi
,\theta
)-wabl/ldev/rdev distance.
a StatList containing the (\phi
,\theta
)-wabl/ldev/rdev distances
between the two previous mentioned StatLists.
rho1()
This method calculates the 1-norm distance between the numbers contained in two 'StatLists'.
StatList$rho1(s = NA)
s
can be a FuzzyNumberList or a TrapezoidalFuzzyNumberList.
a StatList containing the 1-norm distances between the two previous mentioned StatLists.
plot()
This method shows in a graph the inner numbers of the corresponding 'StatList'.
StatList$plot(color = "grey")
color
is the color of the lines representing the numbers to be shown in the graph. The default value is grey, other colors can be specified, the option palette() too.
a graph with the inner numbers of the corresponding 'StatList' represented.
getLength()
This method returns the number of dimensions that are equivalent to the number of numbers in the corresponding 'StatList'.
StatList$getLength()
the number of dimensions that are equivalent to the number of numbers in the corresponding 'StatList'.
clone()
The objects of this class are cloneable with this method.
StatList$clone(deep = FALSE)
deep
Whether to make a deep clone.
In order to have the documentation completed, we had had to write the documentation of this class. Taking into account that this class is part of the software design and it cannot be initialized, all its documentation is not needed, in particular the new and clone methods, apart from the Usage: section of each method documentation. All its methods can be used and can be found in FuzzyNumberList's and TrapezoidalFuzzyNumberList's documentation.
We are working to improve this issue. In case you find (almost surely existing) bugs or have recommendations for improving the method, comments are welcome to the above mentioned mail addresses.
Andrea Garcia Cernuda <uo270115@uniovi.es>