Dear all, Can someone explain the correct way to handle this warning message?
data.ppca <-phyl.pca(tree, data.mean) data.ppca Warnings: 1: In sqrt(V[i, i] * obj$Eval[j, j]) : NaNs were generated 2: In sqrt(V[i, i] * obj$Eval[j, j]) : NaNs were generated 3: In sqrt(V[i, i] * obj$Eval[j, j]) : NaNs were generated 4: In sqrt(V[i, i] * obj$Eval[j, j]) : NaNs were generated 5: In sqrt(V[i, i] * obj$Eval[j, j]) : NaNs were generated I understand that this happened because of the negative values in the dataset after the Z-score transformation, but I don't know if there is a way to solve it. Thank you in advance, Jovana [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/