Description Usage Arguments Value References See Also Examples
This function can easily covert a cuts matrix into a Piecewise Linear Fuzzy Number.
1 | cuts.to.PLFN(cuts)
|
cuts |
A matrices, with knot.n raw and 2 column, which contains all information about a Piecewise Linear Fuzzy Number. |
This function returned a Piecewise Linear Fuzzy Number.
Gagolewski, M., Caha, J. (2015) FuzzyNumbers Package: Tools to deal with fuzzy numbers in R. R package version 0.4-1, https://cran.r-project.org/web/packages=FuzzyNumbers
Gagolewski, M., Caha, J. (2015) A guide to the FuzzyNumbers package for R (FuzzyNumbers version 0.4-1) http://FuzzyNumbers.rexamine.com
DISTRIB FuzzyNumbers FuzzyNumbers.Ext.2 Calculator.LR.FNs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if(!require(FuzzyNumbers)){install.packages("FuzzyNumbers")}
library(FuzzyNumbers)
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
plot(T, type="b")
CUTS <- PLFN.to.cuts(T, knot.n)
CUTS
T2 = cuts.to.PLFN(CUTS)
plot(T2, type="b", col=2, add=TRUE, lwd=3, lty=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.