Displaying 2 results from an estimated 2 matches for "bird_abund".
2009 Jan 28
2
Repeated measures design for GAM? - corrected question...
...where bird abundance has been determined. Counts have been performed in 3 consecutive years and there were 2 counts per year (i.e. in total 6 counts).
- a number of environmental predictors that do not change over year Xi).
When using a GLM, a repeated measures design would like: (for example)
lme(Bird_abundance = study_area + count +year+ X1 + X2 + X3,random = ~count|study_area).
However, I have found no analogue design for a GAM. For now, I have averaged my bird abundances but I wondered whether a more subtle and elegant strategy exists...?
Many thanks,
Diederik
Diederik Strubbe
Evolutionary Eco...
2009 Jan 28
2
t.test in a loop
Hi All,
I've been having a little trouble with creating a loop that will run a a
series of t.tests for inspection,
Below is the code i've tried, and some checks i've looked at.
I've used the get(paste()) idea as i was told previously that the use of the
eval should try and be avoided.
I've run a single syntax to check that my systax is correct and works
without any problems