I am working on a simple model in R:
fit<-lme(x~y, data, random=~1|subject)
But I keep getting this error:
Error in na.fail.default(list(h1 = c(103L, 20L, 34L, 85L, 47L, 136L, 76L, : missing values in object
(h1 is one of my column titles of a factor)
Any idea on how to fix this? An identical model works with a different set of data.