library(party) library(ggparty) fit_ctree<-partykit::ctree(Distance_dich~., + data=t_train, + maxdepth = 5) Error in .ctree_test_internal(x = x, X = X, ix = NULL, Xleft = Xleft, : object 'X' not found
Why am i getting this error if there is not even 'X' in the code?