During class I tried to run the ctree but it gives me the following error:
ctree_tree<-ctree(Retained.in.2012.~.,data=training) #Run ctree on training data
Error in inum.default(x, nmax = nmax, ...) :
cannot handle objects of class ‘Date’
Do you have any idea why is this the case? I intalled all the required packages of both two codes discussed in class.
Dear all,
During class I tried to run the ctree but it gives me the following error:
Do you have any idea why is this the case? I intalled all the required packages of both two codes discussed in class.
Thank you, Andrea