[R-sig-ME] Offset() in gls() in nlme

Mark Payne markpayneatwork at gmail.com
Tue Nov 11 13:22:33 CET 2014


Hi,

I am trying to use the following model formula in gls() in the nlme package:

R ~ Turb + offset(ssb)

Unfortunately, gls() seems to ignore the offset argument and give results
that are identical to

R ~ Turb

This is not the case when I use lm() - however, I would like to include a
corAR1() term as well, which is why I am using gls().

Is this known and intended behaviour? If so, is there a recommended
workaround/alternative?

Best wishes,

Mark

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list