Re: [R] nlme: correlation structure in gls and zero distance

2006-07-02 Thread Patrick Giraudoux
Joris De Wolf a écrit : Have you tried to define 'an' as a group? Like in gls(IKAfox~an,correlation=corExp(2071,form=~x+y|an,nugget=1.22),data=renliev) A small data set might help to explain the problem. Joris Thanks. Seems to work with a small artificial data set:

[R] nlme: correlation structure in gls and zero distance

2006-07-01 Thread Patrick Giraudoux
Dear listers, I am trying to model the distribution of fox density over years in the Doubs department. Measurements have been taken on 470 plots in March each year and georeferenced. Average density is supposed to be different each year. In a first approach, I would like to use a general