computes the optimal fuzzy set positions based on the distribution of the data

compute_optimal_quantile_fuzzy_set_positions(df, nb_sets)

Arguments

df

the data as a data frame

nb_sets

the number of fuzzy sets

Value

a list, named after the df column names, holding the vector of positions per variable

Examples

pos <- compute_optimal_quantile_fuzzy_set_positions(mtcars, 3)
print("position for 2nd fuzzy set for qsec var", pos$qsec[[2]])
#> [1] "position for 2nd fuzzy set for qsec var"