Hi, I have a problem with the function ctree in the package party. When I launch ctree with weights=NULL it works. ctree(function~var1+var2, data=datalist, weights=NULL, controls=ctree_control(mincriterion=0.95, maxdepth=4, teststat="quad",testtype="Bonferroni"))
But when I try ctree(function~var1+var2, data=datalist, weights=var3, controls=ctree_control(mincriterion=0.95, maxdepth=4, teststat="quad",testtype="Bonferroni")) there`s an error message error in mo...@fit(data,...) : object "var3" not found What should I do? Thanks -- View this message in context: http://www.nabble.com/function-ctree-in-package-party-tp22369191p22369191.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.