rtrfn | R Documentation |
A generating function of trapezoidal fuzzy number via uniform distribution based on Souliotis et al. (2022). See detail in references.
rtrfn(n, a, c, r, b)
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 |
A data frame with two variables, that is, x and mf
In general, a
< c
< r
< b
for generating a trapezoidal fuzzy random number.
If a
=c
=r
=b
, it will produce a crisp number.
If a
<c
=r
<b
, it will produce a triangular fuzzy random number.
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
df2<- rtrfn(500,1,3,4,6)
head(df2)
plot(df2) # or plot(df2,type='h')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.