Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. m1<-gam(Abundance~s(Temperature)+s(Temperature, by=Site,m=1)+s(Site,k=11,bs="re")+s(Year), method="REML", family = binomial(link="logit"),weights = Trap,data=c2)
  2.  
  3. m2<-gamm(Abundance~s(Temperature)+s(Temperature, by=Site,m=1)+s(Site,k=11,bs="re")+s(Year),correlation = corAR1(form = ~ Year|Site), method="REML", family = binomial(link="logit"),weights = Trap,data=c2)
  4.  
  5. m3<-gamm(Abundance~s(Temperature)+s(Temperature, by=Site,m=1)+s(Site,k=11,bs="re"),correlation = corAR1(form = ~ Year|Site), method="REML", family = binomial(link="logit"),weights = Trap,data=c2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement