[R] Using a specified splitting criterion in tree and rpart

Paolo Radaelli paolo.radaelli at unimib.it
Mon Nov 27 18:34:48 CET 2006


Dear all
I'm interested in fitting a classification tree by using a user-specified 
splitting criterion. If I am right,  Tree package allows to use only 
"deviance" or "gini" while the rpart package offers the possibility to 
specify, in the parms optional parameters for the splitting function, the 
component split (index) that can be chosen between gini and information.
Does someone can suggest me some documentation I can have a look do define 
my splitting criterion and pass it to rpart ?
Thanks
Paolo

Paolo Radaelli
Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali
Facoltà di Economia
Università degli Studi di Milano-Bicocca
P.zza dell'Ateneo Nuovo, 1
20126 Milano
Italy
e-mail paolo.radaelli a unimib.it
Tel +39 02 6448 3163
Fax +39 02 6448 3105



More information about the R-help mailing list