Re: [R-sig-eco] Quick Adonis question

2011-04-11 Thread Gavin Simpson
On Thu, 2011-04-07 at 06:21 +, Nancy Shackelford wrote: Hi everyone, I have a huge number of variables and am trying to find the best model for my data including second order interactions. I just wanted to know if there's a way to have adonis output the AIC of a model rather than the

[R-sig-eco] Select distribution and link in GAM

2011-04-11 Thread ARISTIDES LOPEZ
Hello, I want make a GAM to describe the factor´s that influence the length distribution of demersal fishes in the Colombian Caribbean Sea. The model is like this: gam(length~s(Lat)+s(Long)+s(depth)+s(temperature)+as.factor(rayni season)+as.factor(botton),data=B. capriscus). My question is ¿how

Re: [R-sig-eco] Select distribution and link in GAM

2011-04-11 Thread Gavin Simpson
On Mon, 2011-04-11 at 11:18 -0500, ARISTIDES LOPEZ wrote: Hello, I want make a GAM to describe the factors that influence the length distribution of demersal fishes in the Colombian Caribbean Sea. The model is like this: gam(length~s(Lat)+s(Long)+s(depth)+s(temperature)+as.factor(rayni

Re: [R-sig-eco] Select distribution and link in GAM

2011-04-11 Thread ARISTIDES LOPEZ
Hello Gavin, Firts that all forgive my English. Thank you very much for you explanation. I decide to utilise GAM (and not GLM) by their ability to deal with non linear relationships between data. Zuur et al (2007) advise to use poisson distribution when utilize cuont data, binomial distribution