Description Usage Arguments Value Examples
It is a constructor of fuzzy partitions, it defines a set of membership functions. It takes as input a set of
trapezoid_mf
or triangle_mf
or objects in the shape_mf class.
1 |
... |
are the diferent partitions, e.g., |
the (fuzzy_partitions <- list(...)
1 2 3 4 5 | fuzzy_partitions(triangle_mf(450,450,550),
triangle_mf(450,550,600),
trapezoid_mf(550,600,800, 1000),
triangle_mf(800,1000,1300),
trapezoid_mf(1000,1300,1500,1500))
|
[[1]]
$a
[1] 450
$b
[1] 450
$c
[1] 550
attr(,"class")
[1] "triangle_mf"
[[2]]
$a
[1] 450
$b
[1] 550
$c
[1] 600
attr(,"class")
[1] "triangle_mf"
[[3]]
$a
[1] 550
$b
[1] 600
$c
[1] 800
$d
[1] 1000
attr(,"class")
[1] "trapezoid_mf"
[[4]]
$a
[1] 800
$b
[1] 1000
$c
[1] 1300
attr(,"class")
[1] "triangle_mf"
[[5]]
$a
[1] 1000
$b
[1] 1300
$c
[1] 1500
$d
[1] 1500
attr(,"class")
[1] "trapezoid_mf"
attr(,"class")
[1] "fuzzy_partitions"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.