On 5/9/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Wed, 9 May 2007, hadley wickham wrote:
>
> > Hi everyone,
> >
> > Does anyone has experience with (or documentation for) writing custom
> > methods with rpart? The documentation hints: "Alternatively, 'method'
> > can be a list of functions 'init', 'split' and 'eval'", but doesn't
> > provide any details as to what those methods should do or what
> > arguments they should take etc.
> >
> > I've tried looking at the package source (and the source for the S
> > code it came from) but I can't follow what's going on in C vs R, and
> > as the default methods are coded in a different way, there are no
> > examples to follow.
>
> But there are, in the tests directory.

Thanks, I had missed those.  Perhaps a pointer from the documentation
would be appropriate?

Hadley

______________________________________________
[email protected] 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.

Reply via email to