Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtaining the eigenvalues #67

Open
luizalmeida93 opened this issue Sep 15, 2023 · 0 comments
Open

Obtaining the eigenvalues #67

luizalmeida93 opened this issue Sep 15, 2023 · 0 comments

Comments

@luizalmeida93
Copy link

First of all, I'm sorry if this question makes no sense for this package. I am back to studying PCA, and I have a lot of (potentially disconnected) information in my head.

I performed a PCA using prcomp() from base R. In one of the tutorials I read online, the number of PCs was decided based on the eigenvalues. When using prcomp(), I can simply use the get_eigenvalue() from the "factoextra" package, then I have access to the eigenvalues, variance.percent, and cumulative.variance.percent.

In the PCAtools package, there are other functions and plots for defining the number of PCs, which is super awesome. However, I still wanted to take a look at the eigenvalues. The get_eigenvalue() from factoextra doesn't seem to work. Is there any alternative? I tried looking the the pca object but couldn't see any number matching prcomp() values.

Best,
Luiz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant