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

biplot error message #65

Open
Rimagination opened this issue Jul 19, 2023 · 0 comments
Open

biplot error message #65

Rimagination opened this issue Jul 19, 2023 · 0 comments

Comments

@Rimagination
Copy link

Hi Kevin,

I am using the latest version of PCAtools in R 4.2.2. I want to know how to solve this error.
First of all, my code:

data(iris)
library(PCAtools)
res <- pca(iris[,-5],
scale=TRUE,
center=TRUE,
transposed=TRUE)
biplot(res)

The error message I received is as follows:

Error in $<-.data.frame(*tmp*, "col", value = integer(0)) :
replacement has 0 rows, data has 150

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