[R] 3dim histogram?

Jason Turner jasont at indigoindustrial.co.nz
Fri Oct 5 23:03:54 CEST 2001


> I wonder if there is a package including a program to display a 3dim
> histogram.

Not histograms, but density estimates...

library(sm)
sm.density(...)

This is a non-parametric density estimate, and a rather
nice one too.

If you have Large data sets (note - capital-L large ;-)

library(KernSmooth)
bkde2d(...)

is much faster, as it uses binning and an fft or two. 

I've used these with persp() to give nice visual stuff.

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list