'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.
Andrea Garcia Cernuda <uo270115@uniovi.es>
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)scan be a FuzzyNumberList or a TrapezoidalFuzzyNumberList.
areal number > 0, by default a=1. It is the first parameter of a beta distribution which corresponds to a weighting measure on [0,1].
breal number > 0, by default b=1. It is the second parameter of a beta distribution which corresponds to a weighting measure on [0,1].
thetareal 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)scan be a FuzzyNumberList or a TrapezoidalFuzzyNumberList.
areal number > 0, by default a=1. It is the first parameter of a beta distribution which corresponds to a weighting measure on [0,1].
breal number > 0, by default b=1. It is the second parameter of a beta distribution which corresponds to a weighting measure on [0,1].
thetareal 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)scan 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")coloris 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)deepWhether to make a deep clone.