Re: [R] Fuzzy_partition with fuzzy_trapezoid

2016-08-02 Thread Arthur Stilben
"universe", seq( from = 0, to = 5, by = 0.1 )) >> test2 = fuzzy_variable( b = fuzzy_trapezoid( corners = c( 4, 5, 6, 7 ))) >> > > On Tue, Aug 2, 2016 at 11:14 AM, Arthur Stilben > wrote: >> I already made this question, but I was not subscribed and not &g

[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) )

Re: [R] Fuzzy variable universe

2016-08-02 Thread Arthur Stilben
Thanks, Sarah, for the reply. It really works. 2016-07-28 15:50 GMT-03:00 Sarah Goslee : > On Thu, Jul 28, 2016 at 2:46 PM, Arthur Rodrigues Stilben > wrote: >> >> >> Em 28-07-2016 15:45, Arthur Rodrigues Stilben escreveu: >>> >>> Sarah, >>> >>> First of all, thanks for reply. >>> >>> Second, It

[R] Fuzzy variable universe

2016-07-28 Thread Arthur Stilben
Hello, everyone! Is there a way to set universe group for each fuzzy_variable? I try to do this: > teste = fuzzy_variable( a = fuzzy_trapezoid( corners = c( 0, 1, 2, 3 ) ), > universe = seq( from = 0, to= 10, by = 0.1 ) ) But when I print teste: > teste A fuzzy variable with values: a, univer

[R] How to use fuzzy_partition with fuzzy_trapezoid

2016-07-27 Thread Arthur Stilben
Hello, guys! I tried to do that: > teste = fuzzy_partition( varnames = c( "a", "b" ), FUN = fuzzy_trapezoid, > corners = c( 0, 1, 2, 3), corners = c(4, 5, 6, 7)) Error in FUN(i, ...) : argumento formal "corners" corresponde a mĂșltiplos argumentos especificados So, how can I use fuzzy_partiti