View source: R/fuzzification.R
fuzzify_crisp_matrix | R Documentation |
Converts a numeric matrix into a list of triangular fuzzy numbers.
fuzzify_crisp_matrix(crisp_matrix, spread = 1)
crisp_matrix |
Numeric matrix to be fuzzified. |
spread |
Numeric. The spread for fuzzification (default is 1). |
A list of lists representing rows of triangular fuzzy numbers.
set.seed(123)
matrix <- matrix(runif(9, 5, 15), nrow = 3, ncol = 3)
fuzzify_crisp_matrix(matrix, spread = 1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.