I wish to analyse my dataset, and concluded with the information I have, biodiversity would be good choice. I have 3 sites each are a reef and have the same zonation (split into 3 zones). I am aiming to compare the biodiversity of each zone, at each site. And then produce figures showing this
The 3 zones are, reef flat, reef crest, and slope. I am trying to calculate the biodiversity for each zone, at each site . My aim is to primarily compare the differences in biodiversity between the zones, however I can also compare differences between each sites biodiversity. The 4 different years that data was collected at each site would be replications to produce a more accurate biodiversity reading, I think that the Shannon's diversity index is the correct test to use but I am unsure. this is an example dataset as mine is too large. Any help would be greatly appreciated this has been confusing me a lot
> dput(egdata)
structure(list(Year = c(2013L, 2013L, 2013L, 2013L, 2013L, 2013L,
2013L, 2013L, 2013L, 2013L, 2015L, 2015L, 2015L, 2015L, 2015L,
2015L, 2015L, 2015L, 2017L, 2017L, 2017L, 2017L, 2017L, 2017L,
2019L, 2019L, 2019L, 2019L, 2019L, 2019L, 2019L, 2013L, 2013L,
2013L, 2013L, 2013L, 2013L, 2013L, 2013L, 2013L, 2013L, 2015L,
2015L, 2015L, 2015L, 2015L, 2015L, 2015L, 2015L, 2017L, 2017L,
2017L, 2017L, 2017L, 2017L, 2019L, 2019L, 2019L, 2019L, 2019L,
2019L, 2019L, 2013L, 2013L, 2013L, 2013L, 2013L, 2013L, 2013L,
2013L, 2013L, 2013L, 2015L, 2015L, 2015L, 2015L, 2015L, 2015L,
2015L, 2015L, 2017L, 2017L, 2017L, 2017L, 2017L, 2017L, 2019L,
2019L, 2019L, 2019L, 2019L, 2019L, 2019L), Site = c(1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), Zone = c("c", "c", "f",
"f", "f", "c", "s", "s", "c", "s", "s", "s", "s", "s", "f", "f",
"f", "f", "s", "s", "s", "s", "c", "c", "c", "c", "f", "f", "f",
"f", "f", "c", "c", "f", "f", "f", "c", "s", "s", "c", "s", "s",
"s", "s", "s", "f", "f", "f", "f", "s", "s", "s", "s", "c", "c",
"c", "c", "f", "f", "f", "f", "f", "c", "c", "f", "f", "f", "c",
"s", "s", "c", "s", "s", "s", "s", "s", "f", "f", "f", "f", "s",
"s", "s", "s", "c", "c", "c", "c", "f", "f", "f", "f", "f"),
Species = c("Amblyglyphidodon curacao", "Amblyglyphidodon curacao",
"Amblyglyphidodon curacao", "Amblyglyphidodon leucogaster",
"Chaetodon semeion", "Chromis analis", "Chromis analis",
"Chromis xanthura", "Ctenochaetus striatus", "Ctenochaetus striatus",
"Amblyglyphidodon curacao", "Amblyglyphidodon leucogaster",
"Chaetodon semeion", "Chromis analis", "Chromis analis",
"Chromis xanthura", "Ctenochaetus striatus", "Amblyglyphidodon curacao",
"Amblyglyphidodon leucogaster", "Chaetodon semeion", "Chromis analis",
"Chromis analis", "Chromis xanthura", "Ctenochaetus striatus",
"Chromis xanthura", "Ctenochaetus striatus", "Amblyglyphidodon curacao",
"Amblyglyphidodon leucogaster", "Chaetodon semeion", "Chromis analis",
"Chromis analis", "Amblyglyphidodon curacao", "Amblyglyphidodon curacao",
"Amblyglyphidodon curacao", "Amblyglyphidodon leucogaster",
"Chaetodon semeion", "Chromis analis", "Chromis analis",
"Chromis xanthura", "Ctenochaetus striatus", "Ctenochaetus striatus",
"Amblyglyphidodon curacao", "Amblyglyphidodon leucogaster",
"Chaetodon semeion", "Chromis analis", "Chromis analis",
"Chromis xanthura", "Ctenochaetus striatus", "Amblyglyphidodon curacao",
"Amblyglyphidodon leucogaster", "Chaetodon semeion", "Chromis analis",
"Chromis analis", "Chromis xanthura", "Ctenochaetus striatus",
"Chromis xanthura", "Ctenochaetus striatus", "Amblyglyphidodon curacao",
"Amblyglyphidodon leucogaster", "Chaetodon semeion", "Chromis analis",
"Chromis analis", "Amblyglyphidodon curacao", "Amblyglyphidodon curacao",
"Chaetodon semeion", "Chaetodon semeion", "Chaetodon semeion",
"Chromis analis", "Chromis analis", "Chromis xanthura", "Ctenochaetus striatus",
"Amblyglyphidodon curacao", "Amblyglyphidodon curacao", "Amblyglyphidodon leucogaster",
"Ctenochaetus striatus", "Chromis analis", "Chromis analis",
"Chromis xanthura", "Ctenochaetus striatus", "Amblyglyphidodon curacao",
"Amblyglyphidodon leucogaster", "Chaetodon semeion", "Chromis analis",
"Chromis analis", "Chromis xanthura", "Ctenochaetus striatus",
"Ctenochaetus striatus", "Ctenochaetus striatus", "Amblyglyphidodon curacao",
"Amblyglyphidodon leucogaster", "Chaetodon semeion", "Chromis analis",
"Chromis analis")), class = "data.frame", row.names = c(NA,-93L))