How to plot predicted values with standard errors for lmer model results?
问题 I have a transplant experiment for four locations and four substrates (taken from each location). I have determined survival for each population in each location and substrate combination. This experiment was replicated three times. I have created a lmm as follows: Survival.model <- lmer(Survival ~ Location + Substrate + Location:Substrate + (1|Replicate), data=Transplant.Survival,, REML = TRUE) I would like to use the predict command to extract predictions, for example: Survival.pred <-