as.FuzzyNumber {FuzzyNumbers}R Documentation

Converts an Object to a Fuzzy Number

Description

Please note that applying this function on a FuzzyNumber child class causes information loss, as it drops all additional slots defined in the child classes. FuzzyNumber is the base class for all FNs. Note that some functions for TFNs or PLFNs work much faster and are more precise. This function shouldn't be used in normal computations.

Usage

## S4 method for signature 'numeric'
as.FuzzyNumber(object)

## S4 method for signature 'FuzzyNumber'
as.FuzzyNumber(object)

Arguments

object

a fuzzy number or a single numeric value (crisp number) or vector of length two (interval)

Value

Returns an bject of class FuzzyNumber.

See Also

Other FuzzyNumber-method: Arithmetic, Extract, FuzzyNumber-class, FuzzyNumber, alphaInterval(), alphacut(), ambiguity(), as.PiecewiseLinearFuzzyNumber(), as.PowerFuzzyNumber(), as.TrapezoidalFuzzyNumber(), as.character(), core(), distance(), evaluate(), expectedInterval(), expectedValue(), integrateAlpha(), piecewiseLinearApproximation(), plot(), show(), supp(), trapezoidalApproximation(), value(), weightedExpectedValue(), width()

Other conversion: as.PiecewiseLinearFuzzyNumber(), as.PowerFuzzyNumber(), as.TrapezoidalFuzzyNumber(), as.character()


[Package FuzzyNumbers version 0.4-7 Index]