I'm here to ask for help about GLM (Generalized Linear Model).
I will explain the context to you, I am an intern and I work on the zooplankton of New Caledonia, for my report I have to do statistical tests and I therefore decided to test whether the type of soil had an impact on the specific diversity, in order to see if the type of soil creates endemism.
My data table is the results of 2 months of zooplankton sorting done in various samples from different ponds in New Caledonia.
So I have a column with the name of the samples (which corresponds to a site), the species found (for example Daphnia cephalata), the "landuse" which is a figure that I obtained using Qgis a site of cartography, the numbers correspond to a type of soil.
My supervisor advises me to do a GLM because my data is not suitable for other tests according to him.
But hey, I suck at statistics and i never do GLM. My script on Rstudio currently looks like this:
I'm joking but it looks like that:
data <- read.table("fichier_tri_stat.csv" , fill = TRUE, header = TRUE, sep = ";" )
And that's all, and it's probably wrong.. so if u have good skills on rstudio and if the subject interests you, i need hellllp.
PS: i'm french so i'm sorry for my bad english