# as.PiecewiseLinearFuzzyNumber: Converts an Object to a Piecewise Linear 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 `piecewiseLinearApproximation`.

## Usage

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15``` ```## S4 method for signature 'TrapezoidalFuzzyNumber' as.PiecewiseLinearFuzzyNumber(object, knot.n=0, knot.alpha=seq(0, 1, length.out=knot.n+2)[-c(1,knot.n+2)]) ## S4 method for signature 'numeric' as.PiecewiseLinearFuzzyNumber(object, knot.n=0, knot.alpha=seq(0, 1, length.out=knot.n+2)[-c(1,knot.n+2)]) ## S4 method for signature 'FuzzyNumber' as.PiecewiseLinearFuzzyNumber(object, knot.n=0, knot.alpha=seq(0, 1, length.out=knot.n+2)[-c(1,knot.n+2)]) ## S4 method for signature 'PiecewiseLinearFuzzyNumber' as.PiecewiseLinearFuzzyNumber(object, knot.n=0, knot.alpha=seq(0, 1, length.out=knot.n+2)[-c(1,knot.n+2)]) ```

## Arguments

 `object` a fuzzy number or a single numeric value (crisp number) or vector of length two (interval) `knot.n` the number of knots `knot.alpha` `knot.n` alpha-cut values at knots, defaults to uniformly distributed knots

## Value

Returns an object of class `PiecewiseLinearFuzzyNumber`.

Other TrapezoidalFuzzyNumber-method: `Arithmetic`, `TrapezoidalFuzzyNumber-class`, `TrapezoidalFuzzyNumber`, `TriangularFuzzyNumber()`, `alphaInterval()`, `as.PowerFuzzyNumber()`, `as.TrapezoidalFuzzyNumber()`, `expectedInterval()`, `plot()`
Other PiecewiseLinearFuzzyNumber-method: `Arithmetic`, `Extract`, `PiecewiseLinearFuzzyNumber-class`, `PiecewiseLinearFuzzyNumber`, `^,PiecewiseLinearFuzzyNumber,numeric-method`, `alphaInterval()`, `arctan2()`, `as.PowerFuzzyNumber()`, `as.TrapezoidalFuzzyNumber()`, `as.character()`, `expectedInterval()`, `fapply()`, `maximum()`, `minimum()`, `necessityExceedance()`, `necessityStrictExceedance()`, `necessityStrictUndervaluation()`, `necessityUndervaluation()`, `plot()`, `possibilityExceedance()`, `possibilityStrictExceedance()`, `possibilityStrictUndervaluation()`, `possibilityUndervaluation()`
Other FuzzyNumber-method: `Arithmetic`, `Extract`, `FuzzyNumber-class`, `FuzzyNumber`, `alphaInterval()`, `alphacut()`, `ambiguity()`, `as.FuzzyNumber()`, `as.PowerFuzzyNumber()`, `as.TrapezoidalFuzzyNumber()`, `as.character()`, `core()`, `distance()`, `evaluate()`, `expectedInterval()`, `expectedValue()`, `integrateAlpha()`, `piecewiseLinearApproximation()`, `plot()`, `show()`, `supp()`, `trapezoidalApproximation()`, `value()`, `weightedExpectedValue()`, `width()`
Other conversion: `as.FuzzyNumber()`, `as.PowerFuzzyNumber()`, `as.TrapezoidalFuzzyNumber()`, `as.character()`