Skip to content
Prev 4909 / 7419 Next

Using multiple species data for gam

Hello,

not sure if you are looking to run the GLM/GAMs individually but in one
run, or as a community composition type model to test main
drivers/correlates of combined species occurrences. If the latter, another
option is a GLMM with species having random slope to allow responses to
differ. For this, you would need to stack the occurrence matrix into a
?long? format (a row for the presence/absence of each species in each plot
with corresponding predictor variables and a field for species).

Response Species Temp Pptn

0	Sp1	30	1000
1	Sp2	30	1000
1	Sp3	30	1000

In lme4, something like:
lmer(Response ~ Temp + Pptn + (1 + Temp + Pptn|Species),
family=binomial(link="logit"), data)

An example with R code in the Appendix:
http://dx.doi.org/10.1111/jvs.12111

Greg

--
Dr Greg Guerin
Postdoctoral Fellow
School of Biological Sciences, Faculty of Science
The University of Adelaide

CRICOS Provider Number 00123M
-----------------------------------------------------------
IMPORTANT: This message may contain confidential or legally privileged
information. If you think it was sent to
you by mistake, please delete all copies and advise the sender. For the
purposes
of the SPAM Act 2003, this
email is authorised by The University of Adelaide.