PLFN.to.cuts: Convert Piecewise Linear Fuzzy Number to a cuts matrix

Description Usage Arguments Value See Also Examples

Description

This function can easily covert a Piecewise Linear Fuzzy Number (PLFN) into a cuts matrix.

Usage

1
PLFN.to.cuts(P, knot.n)

Arguments

P

A Piecewise Linear Fuzzy Number (PLFN).

knot.n

the number of knots; see package FuzzyNumbers for more details.

Value

This function returned a matrix which contains core, support and knot.n cuts of the considered PLFN.

See Also

DISTRIB FuzzyNumbers FuzzyNumbers.Ext.2 Calculator.LR.FNs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
knot.n = 2
T <- PLFN( knot.n=knot.n,
	X.dist="norm", X.dist.par=c(0,1),
	slX.dist="exp", slX.dist.par=3,
	srX.dist="beta", srX.dist.par=c(1,3)
	)

T
FuzzyNumbers::plot(T, type="b")
cuts = PLFN.to.cuts(T, knot.n)
cuts
cuts[,"L"]  #Lower bounds of cuts
cuts[,"U"]  #Upper bounds of cuts
cuts[2,]    #Or equivalently  cuts["0.6667",]

Sim.PLFN documentation built on May 2, 2019, 5:51 a.m.