This method is especially useful if you would like to generate LaTeX equations defining a fuzzy numbers.
# S4 method for FuzzyNumber
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")# S4 method for TrapezoidalFuzzyNumber
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")
# S4 method for PiecewiseLinearFuzzyNumber
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")
# S4 method for PowerFuzzyNumber
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")
a fuzzy number
logical; should LaTeX code be output?
character; variable name to be included in equations
Returns a character vector.
Consider calling the cat
function on the resulting
string.
Thanks to Jan Caha for suggesting the toLaTeX
arg.
Other FuzzyNumber-method:
Arithmetic
,
Extract
,
FuzzyNumber-class
,
FuzzyNumber
,
alphaInterval()
,
alphacut()
,
ambiguity()
,
as.FuzzyNumber()
,
as.PiecewiseLinearFuzzyNumber()
,
as.PowerFuzzyNumber()
,
as.TrapezoidalFuzzyNumber()
,
core()
,
distance()
,
evaluate()
,
expectedInterval()
,
expectedValue()
,
integrateAlpha()
,
piecewiseLinearApproximation()
,
plot()
,
show()
,
supp()
,
trapezoidalApproximation()
,
value()
,
weightedExpectedValue()
,
width()
Other PiecewiseLinearFuzzyNumber-method:
Arithmetic
,
Extract
,
PiecewiseLinearFuzzyNumber-class
,
PiecewiseLinearFuzzyNumber
,
^,PiecewiseLinearFuzzyNumber,numeric-method
,
alphaInterval()
,
arctan2()
,
as.PiecewiseLinearFuzzyNumber()
,
as.PowerFuzzyNumber()
,
as.TrapezoidalFuzzyNumber()
,
expectedInterval()
,
fapply()
,
maximum()
,
minimum()
,
necessityExceedance()
,
necessityStrictExceedance()
,
necessityStrictUndervaluation()
,
necessityUndervaluation()
,
plot()
,
possibilityExceedance()
,
possibilityStrictExceedance()
,
possibilityStrictUndervaluation()
,
possibilityUndervaluation()
Other PowerFuzzyNumber-method:
Extract
,
PowerFuzzyNumber-class
,
PowerFuzzyNumber
,
alphaInterval()
,
as.PowerFuzzyNumber()
,
as.TrapezoidalFuzzyNumber()
,
expectedInterval()
Other conversion:
as.FuzzyNumber()
,
as.PiecewiseLinearFuzzyNumber()
,
as.PowerFuzzyNumber()
,
as.TrapezoidalFuzzyNumber()