[R] ctree (party) - select a specific variable in the first split

Salvatore Loguercio loguerci at scripps.edu
Tue Apr 2 04:57:22 CEST 2013


Hello,

My question is related to ctree() function from the library 'party'.
Is there a way to force ctree() to use a specific variable in the first 
split? I am asking because the first split contains two variables with 
very similar scores, and choosing the alternative variable would induce 
a tree somewhat easier to interpret.

Thanks,
Sal



More information about the R-help mailing list