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( a = fuzzy_trapezoid( corners = c( 0, 1, 2, 3 ))) > > sets_options("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 <arthur.stil...@gmail.com> wrote: > 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) >> ) > > But I got this error: > > Error in FUN(i, ...) : > formal argument "corners" represents multiples specified arguments > > Is it possible to combine fuzzy_partition with fuzzy_trapezoid? > > Att, > ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.