[R] User defined split function in rpart

From: Wheeler, Bill (IMS) <WheelerB_at_imsweb.com>
Date: Thu 19 May 2005 - 00:15:39 EST

In the function rpart, users can define their own split function by creating functions init, eval, and split. For method='anova', I have examples of these functions. I would like to create these functions for the case method='class'. Does anyone know how the init, eval, and split functions would be written?

Thank you.


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 19 00:21:25 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:50 EST