Re: [R] Ellipse: Major Axis Minor Axis

2009-09-08 Thread Jari Oksanen
Vishal gmail.com> writes: > > Jari, thanks for the quick answer. > > > sqrt(eigen(cov.trob(mydataforellipse)$cov)$values) > > what will this return? > > For my data, I get: > > > sqrt(eigen(cov.trob(r)$cov)$values) > [1] 1.857733e-05 4.953181e-06 > > Is this Left hand value the major or the

Re: [R] Ellipse: Major Axis Minor Axis

2009-09-02 Thread Vishal
I forgot to mention that the ellipse has a rotation. It's horizontal axis is not parallel to the x-axis. Just repeating, when I try to draw a circuit keeping the center same as the ellipse, and radius equal to the first value returned by > sqrt(eigen(cov.trob(mydataforellipse)$cov)$values) taking

Re: [R] Ellipse: Major Axis Minor Axis

2009-09-02 Thread Vishal
Jari, thanks for the quick answer. > sqrt(eigen(cov.trob(mydataforellipse)$cov)$values) what will this return? For my data, I get: > sqrt(eigen(cov.trob(r)$cov)$values) [1] 1.857733e-05 4.953181e-06 Is this Left hand value the major or the semi major length? I also try to plot a circuit keepi

Re: [R] Ellipse: Major Axis Minor Axis

2009-09-01 Thread Jari Oksanen
Vishal gmail.com> writes: > > I have a matrix(3000x2) of numbers and I have plotted a scatterplot > (defined in the ``car'' library.) > > scatterplot(r$V1,r$V2,ellipse=TRUE) > > The ellipse plotted is an error ellipse. > > I want the find the major(semi), minor(semi) minor axis length of this

[R] Ellipse: Major Axis Minor Axis

2009-09-01 Thread Vishal
I have a matrix(3000x2) of numbers and I have plotted a scatterplot (defined in the ``car'' library.) scatterplot(r$V1,r$V2,ellipse=TRUE) The ellipse plotted is an error ellipse. I want the find the major(semi), minor(semi) minor axis length of this ellipse. Does anybody know how to do it? I ca