[R] function ctree in package party

Maxl18 maximilianwoerle at hotmail.com
Fri Mar 6 10:45:51 CET 2009


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 model at 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.




More information about the R-help mailing list