I am running the codes below,
model2<-lme(Gly~time, random=~1|CowID, weights=varIdent(form=~1|CowID),
correlation=corExp(form=~1|CowID,nugget=TRUE), data=mydata)
And am getting the warning:
Warning: no non-missing arguments to min; returning InfWarning: no non-missing arguments to min; returning InfError in corFactor.corSpatial(object) :
NA/NaN/Inf in foreign function call (arg 1)
What could be the problem?