Hi...

Can someone please explain to me what this error message means?
It only appears if I include the correlation= part, but I have no idea why.

Thanks,
Joe

> ARModel <-lme(Life_Satisfaction ~Time, data = restructuredData, random = ~Time|Person, method = "ML",  na.action = na.exclude, control = list(opt="optim"),correlation = corAR1(0, form = ~Time|Person))
Error in structure(res, levels = lv, names = nm, class = "factor") : 
  'names' attribute [323] must be the same length as the vector [0]
	[[alternative HTML version deleted]]

