hredestig / pcaMethods

Perform PCA on data with missing values in R
GNU General Public License v2.0
45 stars 10 forks source link

simpleEllipse() not working #10

Closed Jfgrass closed 4 years ago

Jfgrass commented 4 years ago

Hi! I am trying to run simpleEllipse() function to detect outliers in a two principal components score plot using Hotelling T2 but I get the following warning when I run it:

Error in simpleEllipse(PCA_score_frame$PC1, PCA_score_frame$PC2, alfa = 0.95, : could not find function "simpleEllipse"

The package seems to be well installed

Thanks in advance

Kind regards

hredestig commented 4 years ago

simpleEllipse is not an exported function (there are many other packages that implement this better) but you can still use this version by calling pcaMethods:::simpleEllipse()