rtfn {genfrn} | R Documentation |
A generating function of triangular fuzzy number via uniform distribution
Description
A generating function of triangular fuzzy number via uniform distribution based on Souliotis et al. (2022). See detail in references.
Usage
rtfn(n, a, b)
Arguments
n |
total number of random triangular fuzzy number |
a |
the left point of triangular fuzzy number |
b |
the right point of triangular fuzzy number |
Value
A data frame with two variables, that is, x and mf
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
df <- rtfn(500,1,5)
head(df)
plot(df) # or plot(df,type='h')
[Package genfrn version 0.1.4 Index]