Re: [R] Comparing means and trends in short time-series

2010-02-09 Thread Simone Vincenzi
: Mixed1 <- lme(density~year, data=mydata, random=~1|sector) Mixed2 <- lme(density~year, data=mydata, random=~1|year/sector) But I'm not sure I can fit the Mixed2 model. Many thanks for the answers so far. Any ideas? Simone Vincenzi, PhD Department of Environmental Sciences Un

[R] Comparing means and trends in short time-series

2010-02-09 Thread Simone Vincenzi
among streams from 2000 to 2007? Is it sufficient and appropriate a test of correlation (using rcorr of the library Design, for example) to test if density trends in time are similar among streams? Any help would be greatly appreciated. Simone Simone Vincenzi, PhD Department of