Open renliang1996 opened 1 year ago
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
$<-.data.frame
*tmp*
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