View source: R/exprsDeprecated.R

triangle | R Documentation |

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)

`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). |

A numeric vector of membership degrees of `x`

to a fuzzy set with the shape
determined with `lo`

, `center`

, `hi`

.

Michal Burda

`triangular()`

, `raisedcosine()`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.