FuzzyNumbers - Online Manual

as.character {FuzzyNumbers}R Documentation

Get Basic Information on a Fuzzy Number in a String

Description

This method is especially useful if you would like to generate LaTeX equations defining a fuzzy numbers.

Usage

## S4 method for signature 'FuzzyNumber'
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")

## S4 method for signature 'TrapezoidalFuzzyNumber'
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")

## S4 method for signature 'PiecewiseLinearFuzzyNumber'
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")

## S4 method for signature 'PowerFuzzyNumber'
as.character(x, toLaTeX=FALSE, varnameLaTeX="A")

Arguments

x

a fuzzy number

toLaTeX

logical; should LaTeX code be output?

varnameLaTeX

character; variable name to be included in equations

Details

Consider calling the cat function on the resulting string.

Thanks to Jan Caha for suggesting the toLaTeX arg.

Value

Returns a character vector.

See Also

Other FuzzyNumber-method: Arithmetic, 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, 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: PowerFuzzyNumber-class, PowerFuzzyNumber, alphaInterval, as.PowerFuzzyNumber, as.TrapezoidalFuzzyNumber, expectedInterval

Other conversion: as.FuzzyNumber, as.PiecewiseLinearFuzzyNumber, as.PowerFuzzyNumber, as.TrapezoidalFuzzyNumber


[Package FuzzyNumbers version 0.4-1 Index]