Error in svd(X) : infinite or missing values in 'x'
traceback()
5: stop("infinite or missing values in 'x'")
4: svd(X)
3: PCA.biplot(biplot(VIE_data[, feat], scaled = TRUE))
2: PCA(biplot(VIE_data[, feat], scaled = TRUE))
1: plot(PCA(biplot(VIE_data[, feat], scaled = TRUE)))
I am getting this error because one of my variables has only one response value.
Let's consider adding a non-technical explanation for the error.
Error in svd(X) : infinite or missing values in 'x'traceback()5: stop("infinite or missing values in 'x'")4: svd(X)3: PCA.biplot(biplot(VIE_data[, feat], scaled = TRUE))2: PCA(biplot(VIE_data[, feat], scaled = TRUE))1: plot(PCA(biplot(VIE_data[, feat], scaled = TRUE)))I am getting this error because one of my variables has only one response value.
Let's consider adding a non-technical explanation for the error.