Displaying 1 result from an estimated 1 matches for "yearloc".
Did you mean:
realloc
2009 Apr 14
0
Fitted values and MSE of individual fits in lmList
...ould like to get the fitted values and MSE of the individual fits from the following lmList object, so I can use them to fit a mixed model using the fitted values and weight each environment
with (number of reps/MSE)/Average MSE.
library(nlme)
yield.list <- lmList(yield ~ as.factor(rep) + id | yearloc, data = df1, na.action = na.omit)
then I do
yield.fitted <- fitted(yield.list)
yield.fitted
Akron1999 Akron1999 Akron1999 Akron1999 Akron1999
45.06508 61.29841 63.73175 61.16508 63.53175
Akron1999 Akron1999 Akron1999...