[prev in list] [next in list] [prev in thread] [next in thread]
List: r-devel
Subject: Re: [Rd] patch for rpart
From: "Therneau, Terry M., Ph.D." <therneau () mayo ! edu>
Date: 2014-08-18 18:55:51
Message-ID: 27747b$932m5g () ironport10 ! mayo ! edu
[Download RAW message or body]
On 08/14/2014 05:00 AM, r-devel-request@r-project.org wrote:
> Dear list
>
>
> For my work, it would be helpful if rpart worked seamlessly with an
> empty model:
>
> library(rpart); rpart(formula=y~0, data=data.frame(y=factor(1:10)))
>
> Currently, an unrelated error (originating from na.rpart) is thrown.
>
> At some point in the near future, I'd like to release a package to CRAN
> which uses rpart and relies on that functionality. I have prepared a
> patch (minor modifications at three places, and a test) which I'd like
> to propose for inclusion in the next CRAN release of rpart. The patch
> can be reviewed athttps://github.com/krlmlr/rpart/tree/empty-model, the
> files (based on the current CRAN release 4.1-8) can be downloaded from
> https://github.com/krlmlr/rpart/archive/empty-model.zip.
>
> Thanks for your attention.
>
>
> With kindest regards
>
> Kirill M?ller
In general I try to make functions behave in edge cases, so am symptatheic to your
request. But I won't get to it for months at least, even if I say yes. Brian Ripley is
the official maintainer of rpart at this time, send a note directly to him. If neither
Brian nor I can fit it in, no one else will.
Terry Therneau
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic