Closed spedygiorgio closed 8 years ago
Could you please give a brief code example I could run?
Are you using ctree from partykit packge or from the party package?
It was a my fault. Your code works extremely properly. Just a suggestion, is it possible to substitute ' with " when grouping categorical covariates into in ('FIRST', 'SECOND ITEM')?
For yourself you can do writeLines(gsub('"', "'", '"foo1","foo2"'))
, and if you think there is a reason to do this for all users, please open a new ticket
I am using your code 4 converting ctree into SAS and receive the following error: Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘nodes’ for signature ‘"train", "numeric"’