Skip to content

bivariate kernel density estimates at point locations ( r ather than at grid locations)

1 message · Liaw, Andy

#
You can try `locfit', though it does local likelihood, rather than
garden-variety kernel density estimation.  Here's an example:


library(locfit)
data(cldem)
den.fit <- locfit(~ x1 + x2, data=cltrain)
predict(den.fit, newdata=cltrain)

Andy

From: Strickland, Matthew