Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

genfrn (version 0.1.4)

rtrfn: A generating function of trapezoidal fuzzy number via uniform distribution

Description

A generating function of trapezoidal fuzzy number via uniform distribution based on Souliotis et al. (2022). See detail in references.

Usage

rtrfn(n, a, c, r, b)

Value

A data frame with two variables, that is, x and mf

Arguments

n

total number of random trapezoidal fuzzy number

a

the left point of trapezoidal fuzzy number

c

the left-middle point of trapezoidal fuzzy number

r

the right-middle point of trapezoidal fuzzy number

b

the right point of trapezoidal fuzzy number

References

Souliotis, G., Alanazi, Y., & Papadopoulos, B. (2022). Construction of fuzzy numbers via cumulative distribution function. Mathematics, 10(18), 3350. https://doi.org/10.3390/math10183350

Examples

Run this code
df2<- rtrfn(500,1,3,4,6)
head(df2)
plot(df2)  # or plot(df2,type='h')

Run the code above in your browser using DataLab