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, >>> >>>

Re: [R] Fuzzy variable universe

2016-07-28 Thread 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 really works, but in fact I would to like to set individuals >> universe

Re: [R] Fuzzy variable universe

2016-07-28 Thread Arthur Rodrigues Stilben
Thanks for reply, Bert. Em 28-07-2016 15:31, Bert Gunter escreveu: Below. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Jul 28, 2016 at 11:11

Re: [R] Fuzzy variable universe

2016-07-28 Thread Arthur Rodrigues Stilben
Em 28-07-2016 15:45, Arthur Rodrigues Stilben escreveu: Sarah, First of all, thanks for reply. Second, It really works, but in fact I would to like to set individuals universe groups for each fuzzy_variable. Something like this: > test1 = fuzzy_variable( a = fuzzy_trapezoid( corners = c(

Re: [R] Fuzzy variable universe

2016-07-28 Thread Bert Gunter
Below. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Jul 28, 2016 at 11:11 AM, Arthur Rodrigues Stilben wrote: >

Re: [R] Fuzzy variable universe

2016-07-28 Thread Sarah Goslee
As Jeff suggested, I read the help for you. Based on the examples, you need: ## set universe sets_options("universe", seq(from = 0, to = 10, by = 0.1)) teste2 = fuzzy_variable( a = fuzzy_trapezoid( corners = c( 0, 1, 2, 3 ) ) ) comparing plot(teste) # complete with Warning and

Re: [R] Fuzzy variable universe

2016-07-28 Thread Arthur Rodrigues Stilben
Sorry, I forgot to mention: > install.packages("sets") ... > library(sets) > teste = fuzzy_variable( a = fuzzy_trapezoid( corners = c( 0, 1, 2, 3 ) ), universe = seq( from = 0, to = 10, by = 0.1 ) ) > teste A fuzzy variable with values: a, universe The ideia is to set the universe group for

Re: [R] Fuzzy variable universe

2016-07-28 Thread Jeff Newmiller
This appears to be a question about a contributed package, though you have not specified which one (so your example code is not reproducible). Be warned that I have never seen discussion of fuzzy logic on this list, so any help you get here is likely to be from someone reading the

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