[R-sig-eco] clustering communities by an environmental variable

Irene Adamo |@@d@mo90 @end|ng |rom gm@||@com
Fri Apr 24 17:47:56 CEST 2020


Dear all,
I am trying to do a dendrogram  by trying to see if my communities  by
altitude but I am not sure on how to do it.
lets say I have this example

# calculate Bray-Curtis distance among samples comm.bc.dist <- vegdist(comm,
method = "bray") # cluster communities using average-linkage algorithm
comm.bc.clust <- hclust(comm.bc.dist, method = "average") # plot cluster
diagram plot(comm.bc.clust, ylab = "Bray-Curtis dissimilarity")

Now, I would like to cluster my communities by Altitude always using the
distance matrix and the dendrogram.
Is it possible?

Thanks a lot for any help!

	[[alternative HTML version deleted]]



More information about the R-sig-ecology mailing list