Professional Documents
Culture Documents
PM G2 VegAnalysis
PM G2 VegAnalysis
Our group used R studio analysis to determine the diversity of AM and PM data on vegetation
analysis. According to figure 1, there is a difference in the diversity between the plots of the two
sessions.
Figure 2 shows that specimens found in plots 2 and 3 are the most distant from the rest of the
plots but they are also similar to each other. Plots 11 and 13 are the most similar plots.
Appendix A – Rscript
tree = read.csv("plottree.csv",sep=",", header=TRUE)
Tree.dist=vegdist(tree,method="bray")
Tree.dist
Tree.hclust=hclust(Tree.dist)
Tree.hclust
plot(Tree.hclust, col="chocolate", main= "Site similarity")
diversity(Tree,index="shannon")
diversity(Tree,index="shannon")
diversity(tree,index="shannon")
#Shannon Diversity Index:
diversity(tree,index="simpson")
#Simpson Diversity Index
specnumber(tree)
#Based on the diversity indices, we conclude that Plot 5 has the highest species diversity