Happy New Year. Wish you a very successful year!
I am creating PCA plots in R in an automated way and need a script to define whether the sample (red dot on the figure) is outside/within the circle. Does anyone have a good solution for it?
So far I've been using mahalanobis distance...