[R] 3-D ellipsoid equations update2. Error message when I run R code.

2011-11-05 Thread mmstat
+ Hello, I want to delete prior questions online but am getting an error message? Please see R code in enclosed file. I don't understand the error message. The parametric equations of an ellipsoid can be written in terms of spherical coordinates. The three spherical coor

Re: [R] 3-D ellipsoid equations

2011-11-05 Thread mmstat
+ Hello, The parametric equations of an ellipsoid can be written in terms of spherical coordinates. The three spherical coordinates are converted to Cartesian coordinates by X=a cos (α) sin(θ) Y=b sin(α) sin(θ) Z=c cos(θ) for α and θ The parameter α varies fr