Paolo Radaelli
2006-Nov-27 17:34 UTC
[R] Using a specified splitting criterion in tree and rpart
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