Edna Bell <edna.bell01 <at> gmail.com> writes: > I have a tiny data set: > > xs > [1] 0.7 2.8 0.1 1.9 0.0 1.4 0.2 2.3 0.3 0.2 > > > > and generate the density function for it. > > I would like to replicate this. Is there a straightforward way to do > this, please?
See chapter 5 in MASS and the examples in library/MASS/scripts/ch05.R > According to the help file, the FFT is used. Too bad, I have 3500 help files in my installation. > How does this compare to Silverman's version from his page 15 Equation > 2.2a, please? I checked Sarah Silverman's (http://en.wikipedia.org/wiki/Sarah_Silverman) Great Schlepp and could not find Equation 2.2a there. Dieter ______________________________________________ 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.