# as.TrapezoidalFuzzyNumber: Converts an Object to a Trapezoidal Fuzzy Number In FuzzyNumbers: Tools to Deal with Fuzzy Numbers

## Description

This method is only for exact conversion. For other cases (e.g. general FNs), use `trapezoidalApproximation`.

## Usage

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14``` ```## S4 method for signature 'numeric' as.TrapezoidalFuzzyNumber(object) ## S4 method for signature 'FuzzyNumber' as.TrapezoidalFuzzyNumber(object) ## S4 method for signature 'PowerFuzzyNumber' as.TrapezoidalFuzzyNumber(object) ## S4 method for signature 'PiecewiseLinearFuzzyNumber' as.TrapezoidalFuzzyNumber(object) ## S4 method for signature 'TrapezoidalFuzzyNumber' as.TrapezoidalFuzzyNumber(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 `TrapezoidalFuzzyNumber`.

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

Other TrapezoidalFuzzyNumber-method: `Arithmetic`, `TrapezoidalFuzzyNumber-class`, `TrapezoidalFuzzyNumber`, `TriangularFuzzyNumber()`, `alphaInterval()`, `as.PiecewiseLinearFuzzyNumber()`, `as.PowerFuzzyNumber()`, `expectedInterval()`, `plot()`

Other PowerFuzzyNumber-method: `Extract`, `PowerFuzzyNumber-class`, `PowerFuzzyNumber`, `alphaInterval()`, `as.PowerFuzzyNumber()`, `as.character()`, `expectedInterval()`

Other PiecewiseLinearFuzzyNumber-method: `Arithmetic`, `Extract`, `PiecewiseLinearFuzzyNumber-class`, `PiecewiseLinearFuzzyNumber`, `^,PiecewiseLinearFuzzyNumber,numeric-method`, `alphaInterval()`, `arctan2()`, `as.PiecewiseLinearFuzzyNumber()`, `as.PowerFuzzyNumber()`, `as.character()`, `expectedInterval()`, `fapply()`, `maximum()`, `minimum()`, `necessityExceedance()`, `necessityStrictExceedance()`, `necessityStrictUndervaluation()`, `necessityUndervaluation()`, `plot()`, `possibilityExceedance()`, `possibilityStrictExceedance()`, `possibilityStrictUndervaluation()`, `possibilityUndervaluation()`

Other conversion: `as.FuzzyNumber()`, `as.PiecewiseLinearFuzzyNumber()`, `as.PowerFuzzyNumber()`, `as.character()`

FuzzyNumbers documentation built on Nov. 15, 2021, 5:09 p.m.