Hi all (again), many thanks for the answer to the optimization problem. All is fine now. The problem now is with kernel estimators in sm. package. I do all the work and the graphics good, but I need the density function data for each point, and I don't know how to get it. The only thing I get is the table at the end of the following sequence:
> Kernel<-sm.density(Kernel,model="Normal") Loading required package: rpanel Loading required package: tcltk Loading Tcl/Tk interface ... done Package `rpanel', version 1.0-6 type help(rpanel) for summary information Loading required package: rgl Loading required package: misc3d > summary(Kernel) Length Class Mode eval.points 60 -none- numeric h 3 -none- numeric h.weights 38 -none- numeric weights 38 -none- numeric scaling 1 -none- function estimate 8000 -none- numeric surf.ids 3 -none- numeric data 3 -none- list call 3 -none- call > Please can anyone help me again? Thanks Pablo -- View this message in context: http://r.789695.n4.nabble.com/kernel-density-tp3265332p3265332.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.