Re: [R] Observation in a confidence ellipse

2011-05-28 Thread Rolf Turner
On 29/05/11 05:45, Jessica Minkue wrote: Hello everyone I really need some help here. I made a confidence ellipse using the function ellipse from the package ellipse: ellipse(SD, centre=colMeans(pcsref),t=sqrt((p * (n-1)/(n-p))*qf(0.99, p,n-p)) Now, I want to write a function whom return TRUE

Re: [R] Observation in a confidence ellipse

2011-05-28 Thread Greg Snow
-boun...@r-project.org] On Behalf Of Jessica Minkue Sent: Saturday, May 28, 2011 11:45 AM To: r-help@r-project.org Subject: [R] Observation in a confidence ellipse Hello everyone I really need some help here. I made a confidence ellipse using the function ellipse from the package ellipse

[R] Observation in a confidence ellipse

2011-05-28 Thread Jessica Minkue
Hello everyone I really need some help here. I made a confidence ellipse using the function ellipse from the package ellipse: ellipse(SD, centre=colMeans(pcsref),t=sqrt((p * (n-1)/(n-p))*qf(0.99, p,n-p)) Now, I want to write a function whom return TRUE or FALSE if a given observation is in th