PCAtools icon indicating copy to clipboard operation
PCAtools copied to clipboard

biplot error message

Open Rimagination opened this issue 1 year ago • 0 comments

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

Rimagination avatar Jul 19 '23 08:07 Rimagination