Description Usage Arguments Value See Also Examples
This function can easily covert a Piecewise Linear Fuzzy Number (PLFN) into a cuts matrix.
1 | PLFN.to.cuts(P, knot.n)
|
P |
A Piecewise Linear Fuzzy Number (PLFN). |
knot.n |
the number of knots; see package |
This function returned a matrix which contains core, support and knot.n
cuts of the considered PLFN.
DISTRIB FuzzyNumbers FuzzyNumbers.Ext.2 Calculator.LR.FNs
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",]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.