Re: [R] Fuzzy_partition with fuzzy_trapezoid

2016-08-02 Thread Arthur Stilben
Thanks, Sarah, for response. But you showed me an example with fuzzy_variable. I'd like to use fuzzy_partition. I also tried: > teste = fuzzy_partition(varnames = c('a', 'b'), FUN = fuzzy_trapezoid, > corners = c(1,2,3,4), height = c(1,1) ) But the trapezoids 'a' and 'b' were overlap. Is there a

Re: [R] Fuzzy_partition with fuzzy_trapezoid

2016-08-02 Thread Sarah Goslee
As already discussed, yes, but you can't specify corners and height twice in a single call. Please do read the help for the functions you're interested in, and perhaps go back to refresh yourself on some basic R. > sets_options("universe", seq(from = 0, to = 10, by = 0.1)) > test1 = fuzzy_variable

[R] Fuzzy_partition with fuzzy_trapezoid

2016-08-02 Thread Arthur Stilben
I already made this question, but I was not subscribed and not received any reply. I tried this: > install.packages("sets") ... > library(sets) > teste = fuzzy_partition(varnames = c('a', 'b'), FUN = fuzzy_trapezoid, > corners = c(1,2,3,4), height = c(1,1), corners = c(5,6,7,8), height = c(1,1) )