在我的 RDA 三元图中,我想使用 ggord 函数包含因子水平的质心。 但是如何?这是我到目前为止得到的一个例子:
library(vegan)
library(ggord)
data(dune)
data(dune.env)
dune.hell <- disttransform(dune,method='hellinger')
model1<-rda (dune.hell ~ Condition(Moisture) + A1 + Management+Use+Manure,permutations=999,scale=F,data = dune.env)
plot1<-ggord(model1,ellipse = FALSE,sizepch=10,txt = 4,size=2,repel=T,alpha=0.7,addpch=3,addcol="black")+ theme(panel.grid.major = element_blank(),panel.grid.minor = element_blank())+ggtitle("Triplot RDA matrix ~ env -scaling2-wa scores")
plot1
summary(model1)#gives me the centroids,but how to access/plot these??
我也不知道如何将 wa 分数更改为 lc?