These functions compute membership degrees of numeric fuzzy sets with
triangular or raised-cosine shape. These functions are deprecated.
Please use triangular()
or raisedcosine()
functions instead.
triangle(x, lo, center, hi)raisedcos(x, lo, center, hi)
A numeric vector of membership degrees of x
to a fuzzy set with the shape
determined with lo
, center
, hi
.
A numeric vector to be transformed.
A lower bound (can be -Inf).
A peak value.
An upper bound (can be Inf).
Michal Burda
triangular()
, raisedcosine()