Re: [R] 3dim histogram? <FB75CFC167F3D311B11D00A0CC20FB0E3734CF@nts7.oec.Uni-Osnabrueck.DE>; from dtrenkler@nts6.oec.uni-osnabrueck.de on Fri, Oct 05, 2001 at 11:45:25AM +0200

About this list Date view Thread view Subject view Author view Attachment view

From: Jason Turner (jasont@indigoindustrial.co.nz)
Date: Sat 06 Oct 2001 - 07:03:54 EST


Message-id: <20011006090354.B1194@camille.indigoindustrial.co.nz>


> 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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Thu 17 Jan 2002 - 11:10:07 EST