Re: [R] Density estimates in modelling framework

2008-09-05 Thread hadley wickham
Thanks for all your replies. The suggestions I got were: * gss * logspline * locfit I ended up using locfit because the interface was just right for my needs, and it was faster than the alternatives. Hadley On Fri, Aug 29, 2008 at 2:03 PM, hadley wickham <[EMAIL PROTECTED]> wrote: > Hi a

Re: [R] Density estimates in modelling framework

2008-08-29 Thread Mark Difford
Hi Hadley, There is also locfit, which is very highly regarded by some authorities (e.g. Hastie, Tibs, and Friedman). Cheers, Mark. hadley wrote: > > Hi all, > > Do any packages implement density estimation in a modelling framework? > I want to be able to do something like: > > dmodel <- d

Re: [R] Density estimates in modelling framework

2008-08-29 Thread Martin Maechler
> "hw" == hadley wickham <[EMAIL PROTECTED]> > on Fri, 29 Aug 2008 14:03:45 -0500 writes: hw> Hi all, Do any packages implement density estimation in hw> a modelling framework? I want to be able to do hw> something like: hw> dmodel <- density(~ a + b, data = mydata)

[R] Density estimates in modelling framework

2008-08-29 Thread hadley wickham
Hi all, Do any packages implement density estimation in a modelling framework? I want to be able to do something like: dmodel <- density(~ a + b, data = mydata) predict(dmodel, newdata) This isn't how sm or KernSmooth or base density estimation works. Are there other packages that do density e