trapezoid_mf: Define the trapezoid membership function

Description Usage Arguments Value Examples

Description

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

Usage

1
trapezoid_mf(a, b, c, d)

Arguments

a

the trapezoid point a.

b

the trapezoid point b.

c

the trapezoid point c.

d

the trapezoid point d.

Value

the (trapezoid_mf <- list(a,b,c,d))

Examples

1
trapezoid_mf(0, 1, 2, 3)

Example output

$a
[1] 0

$b
[1] 1

$c
[1] 2

$d
[1] 3

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

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

Related to trapezoid_mf in rLDCP...