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

2006-02-03 Thread Ben Bolker
In response to your last question -- Duncan already gave you the answer in his last e-mail -- to give an explicit example, for a particular set of means and variance-covariance matrix: library(rgl) demo(shapes3d) rgl.clear() sphere <- ellipsoid3d(2,2,2,qmesh=TRUE) means <- c(0,0,0) S <- ma

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

2006-02-02 Thread John Fox
; [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Murdoch > Sent: Thursday, February 02, 2006 6:22 PM > To: Michael > Cc: r-help@stat.math.ethz.ch; Ben Bolker > Subject: Re: [R] is there a way to visualize 3D normal distributions? > > On 2/2/2006 5:01 PM, Michael wrote: > &

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

2006-02-02 Thread Duncan Murdoch
On 2/2/2006 5:01 PM, Michael wrote: > shape3d only gives rigid sphere... not the free form ellipsoid that I > want... ? If you run the demo, you'll see ellipsoids... You just need to work out the appropriate transform to apply to a sphere to get the ellipsoid you want. I imagine something like

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

2006-02-02 Thread Ben Bolker
Michael wrote: > shape3d only gives rigid sphere... not the free form ellipsoid that I > want... > one or the other of us is missing something. after running demo(shapes3d) [to define ellipsoid3d] and rgl.clear(), s1 <- ellipsoid3d(qmesh = TRUE, trans = diag(4)) shade3d(rotate3d(scale3d

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

2006-02-02 Thread Michael
--- > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Michael > > Sent: Thursday, February 02, 2006 3:39 AM > > To: R-help@stat.math.ethz.ch > > Subject: [R] is there a way to visualize 3D normal distri

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

2006-02-02 Thread Michael
shape3d only gives rigid sphere... not the free form ellipsoid that I want... On 2/2/06, Ben Bolker <[EMAIL PROTECTED]> wrote: > > Duncan Murdoch stats.uwo.ca> writes: > > > > > On 2/2/2006 3:39 AM, Michael wrote: > > > Hi all, > > > > > > How do I visualize a contour of a tri-variate normal dist

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

2006-02-02 Thread John Fox
lto:[EMAIL PROTECTED] On Behalf Of Michael > Sent: Thursday, February 02, 2006 3:39 AM > To: R-help@stat.math.ethz.ch > Subject: [R] is there a way to visualize 3D normal distributions? > > Hi all, > > How do I visualize a contour of a tri-variate normal distribution? > >

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

2006-02-02 Thread Ben Bolker
Duncan Murdoch stats.uwo.ca> writes: > > 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 packag

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

2006-02-02 Thread Duncan Murdoch
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

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

2006-02-02 Thread Michael
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. Thank you a lot! Michael. [[alternative HTML version deleted]] __ R-he