使用indicspecies包中的multipatt函数的结果创建树形图

时间:2014-03-15 04:17:56

标签: r

我熟悉multipatt包中的indicspecies函数。到目前为止,我只看到summary用于分析结果。然而,我想要一个树状图,理想情况下,这个物种的名称更多是指示性的'我给定的社区位置。

来自包文件的示例:

library(indicspecies)
 library(stats)
data(wetland) ## Loads species data
wetkm = kmeans(wetland, centers=3) ## Creates three clusters using kmeans
## Runs the combination analysis using IndVal.g as statistic
wetpt = multipatt(wetland, wetkm$cluster, control = how(nperm=999))
## Lists those species with significant association to one combination
summary(wetpt) 

wetpt给出了原始结果,但我不知道如何从此结果中获取聚类图。任何人都可以提供任何指示吗?

0 个答案:

没有答案