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 the confidence ellipse. But I have no clue how to do it
Can anyone help me?

Best regards

Jessica


                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to