triangle_mf: Define the triangle membership function

Description Usage Arguments Value Examples

Description

It is a constructor of triangular shapes. They take as input the numerical values which define the anchor points in membership functions.

Usage

1
triangle_mf(a, b, c)

Arguments

a

the trapezoid point a.

b

the trapezoid point b.

c

the trapezoid point c.

Value

the (triangle_mf <- list(a,b,c))

Examples

1
triangle_mf(0, 1, 2)

Example output

$a
[1] 0

$b
[1] 1

$c
[1] 2

attr(,"class")
[1] "triangle_mf"

rLDCP documentation built on May 2, 2019, 2:30 a.m.

Related to triangle_mf in rLDCP...