A new release of the FuzzyNumbers package for R is now available on CRAN. The package provides S4 classes and methods to deal with Fuzzy Numbers that allow for computations of arithmetic operations, approximation by trapezoidal and piecewise linear FNs, visualization, etc.
Fuzzy set theory lets us quite intuitively represent imprecise or vague information. Fuzzy numbers, which form a particular subclass of fuzzy sets of the real line, play a significant role in many important theoretical and/or practical considerations. This is because we often describe our knowledge about objects through numbers, e.g. “I’m about 180 cm tall” or “The rocket was launched between 2 and 3 p.m.”, etc.
Our package may be used by the practitioners as well as by the researchers in FN theory (e.g. for testing new algorithms, generating numerical examples, preparing figures). It currently aims to provide the following functionality:
- Representation of arbitrary fuzzy numbers (including FNs with discontinuous side functions and/or alpha-cuts), as well as their particular types, e.g. trapezoidal and piecewise linear fuzzy numbers,
- Defuzzification and approximation of FNs by triangular and piecewise linear FNs,
- Visualization of FNs,
- Basic arithmetic operations on FNs.
Future releases of the package will include methods for random FN generation, FN aggegation, and FN ranking.
Notable changes in version 0.3-3:
- piecewiseLinearApproximation() now supports a new method=”SupportCorePreserving”, see Coroianu L., Gagolewski M., Grzegorzewski P., Adabitabar Firozja M., Houlari T., Piecewise Linear Approximation of Fuzzy Numbers Preserving the Support and Core, 2014 (submitted for publication).
- piecewiseLinearApproximation() now does not fail on exceptions thrown by integrate().
Comments and suggestions are warmly welcome e.g. via the issue tracker or email.