[R] Rpart and splitting criteria

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Feb 11 19:18:03 CET 2012



On 10.02.2012 10:37, MYRIAM TABASSO wrote:
> Dear All,
> I have questions about the function "rpart"  to construct a regression tree
> in
> R code.
> My problem is how to change the splitting criteria.
>
> In the "rpart" we have : parms=list(split="......") , I ask you if in this
> command is it possible to use an another splitting criterion to substitute
> the
> default criteria( gini or information)?


No.

Uwe Ligges


> Does someone can help me ?
> Thank you,
> Myriam Tabasso
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list