Learn R Programming

lfl (version 2.2.0)

triangle: Deprecated functions to compute membership degrees of numeric fuzzy sets

Description

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.

Usage

triangle(x, lo, center, hi)

raisedcos(x, lo, center, hi)

Value

A numeric vector of membership degrees of x to a fuzzy set with the shape determined with lo, center, hi.

Arguments

x

A numeric vector to be transformed.

lo

A lower bound (can be -Inf).

center

A peak value.

hi

An upper bound (can be Inf).

Author

Michal Burda

See Also

triangular(), raisedcosine()