Displaying 1 result from an estimated 1 matches for "res2a".
Did you mean:
res2
2011 Mar 29
1
lme:correlationstructure AR1 and random factor
Dear helpers,
I tried these models to run in the package nlme, but allways got the same
error message...
I have a correlation in 5 sessions within a field (n=12) with ten traps in
one field.
res2a <- lme(response~x+y+z+treatment),correlation =
corARMA(form = ~ session|trapfield, p = 1, q = 0), random=~1|field,
na.action=na.omit, data=plates, method="ML")
res2a <- lme(response~x+y+z+treatment,correlation =
corCAR1(form = ~ session|trapfield), random=~1|field, na.action=na.omi...