Re: [R] How to remove NAs and lme function

2008-05-28 Thread Jen_mp3
Thanks, that worked! Andrew Robinson-6 wrote: > > Jen, > > try > > na.action = na.exclude > > Andrew > > > On Wed, May 28, 2008 9:26 pm, Jen_mp3 wrote: >> >> I am working on a project to find a model for the concentration of >> dissolved >> oxygen in the river clyde. Ive fitted a linear mi

Re: [R] How to remove NAs and lme function

2008-05-28 Thread Andrew Robinson
Jen, try na.action = na.exclude Andrew On Wed, May 28, 2008 9:26 pm, Jen_mp3 wrote: > > I am working on a project to find a model for the concentration of > dissolved > oxygen in the river clyde. Ive fitted a linear mixed model as > lme(DOW~Temperature+Salinity+Year+factor(Station)*factor(Dept

[R] How to remove NAs and lme function

2008-05-28 Thread Jen_mp3
I am working on a project to find a model for the concentration of dissolved oxygen in the river clyde. Ive fitted a linear mixed model as lme(DOW~Temperature+Salinity+Year+factor(Station)*factor(Depth), random~1|id), where id is an identifier of the day over 20 years defined as Day*1 + Month*