Re: [R] is there a way to visualize 3D normal distributions?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Thu 02 Feb 2006 - 22:51:03 EST

On 2/2/2006 3:39 AM, Michael wrote:
> Hi all,
>
> How do I visualize a contour of a tri-variate normal distribution?
>
> I just like to see the ellipsoid very much. I hope there is a easy way or
> existing method in R.

The misc3d package includes a function for 3d contour plots; that should do what you want.

There are some errors in the rendering when plotting multiple contours, due to limitations in rgl (the underlying package that does the rendering). The problem is that transparent surfaces need to be rendered in order from back to front, and rgl doesn't do that. But it still looks good.

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Feb 02 22:59:05 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:16 EST