Thanks for the reply. I have datapoints. What I actually want to do is to estimate a joint density function. I used npudens() to estimate the kernel density of two vectors and got the densities at the evaluation points. Now I want an approximation for this so I can have an estimate for different points.
-- View this message in context: http://r.789695.n4.nabble.com/Approximation-of-a-function-from-R-2-to-R-tp4701805p4701828.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.