PCAtools
PCAtools copied to clipboard
biplot error message
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