Sorry, i did indeed mean function - not package. kde2d lets you determine the grid - you choose "n" and "lims", which gives you and n x n matrix for which the density is estimated (Seems like the output is meant for graphical purposes). But i have a matrix consisting of points (x,y) where i want the corresponding density estimates f(x,y). i cant see how i can do this using "n" and "lims".
I have tried to search for simil problems, but so fare i havent found any (may be because its too trivial?). -- View this message in context: http://n4.nabble.com/density-estimates-for-fixed-points-tp1556081p1556204.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.