dmcglinn / quant_methods

Applied Quantitative Methods course at the College of Charleston
http://dmcglinn.github.io/quant_methods/
Other
18 stars 26 forks source link

Multivariate HW - Help with creating a community matrix for dune data? #83

Closed Weberlm closed 8 months ago

Weberlm commented 8 months ago

So, I realize that in order to analyze the data with NMDS I must first create a community matrix. I'm trying to use the code from the lesson as a model:

comm <- tapply(tree$cover,
              INDEX = list(tree$plotID, tree$spcode),
              mean)

but I'm not sure what aspects of the dune data I should use instead? Does anyone have any tips on how they made their community matrices?