Re: [R] function ctree in package party

2009-03-06 Thread Mark Difford
Hi Maxl18, error in mo...@fit(data,...) : object var3 not found What should I do? Make sure that var3 exists/is available ## str(datalist$var3) ## is it here? ls(pattern=var3) ## is it here? Regards, Mark. Maxl18 wrote: Hi, I have a problem with the function ctree in the

[R] function ctree in package party

2009-03-06 Thread Maxl18
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