0

你好,我有这个 R 代码,我想显示分类和物种,但它只显示物种,如果我做错了什么。谢谢

library(vegan)

library(tidyverse)

library(factoextra)

logespecies1mm <- log(especies1mm[,1:19]+1)

pr.envt1 <- prcomp(logespecies1mm)

prin.p <- fviz_pca_biplot(pr.envt1, 
                          label="var", repel = TRUE,
                          habillage = especies1.env$Beach,
                          col.ind = especies1.env$Sorting,
                          axes = 1:2)
prin.p
4

0 回答 0