[R] density estimates for fixed points
geir
geirdb at hotmail.com
Tue Feb 16 15:49:56 CET 2010
But since you don't, why not calculate the density directly for each
point (e.g., in a loop). The formula is simple enough:
mean(dnorm(x-gx,sd=h1)*dnorm(y-gy,sd=h2))
yes, this was my initial thought, and it works. (But i was hoping kde2d or
some similar function could do it faster). I'l try out the "discard kde2d
estimates - method".
By the way Karl, its your program kode-likb-gr.R im modifying, hope you
don't mind :ninja:.
Thanks for your replies!
Geir Drage Berentsen
--
View this message in context: http://n4.nabble.com/density-estimates-for-fixed-points-tp1556081p1557418.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list