Learn R Programming

FuzzyNumbers (version 0.4-7)

as.PiecewiseLinearFuzzyNumber: Converts an Object to a Piecewise Linear Fuzzy Number

Description

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

Usage

# S4 method for 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 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 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 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.

See Also

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()