[R] correlation structures in gls models

2014-07-03 Thread Basil Iannone
Dear R users, I have a question regarding accounting for spatioautocorrelation in the residuals of gls models. I would like the error term of my GLS model (in the nlme package) to account/control for spatialautocorrelation among my sample units. So I use a model that looks something along the li

[R] correlation structures in gls

2014-07-02 Thread Basil Iannone
Dear R users, I have a question regarding accounting for spatioautocorrelation in the residuals of gls models. I would like the error term of my GLS model (in the nlme package) to account/control for spatialautocorrelation among my sample units. So I use a model that looks something along the li

Re: [R] Correlation structures in gls with repeated measurements

2008-07-02 Thread t03eh7
r does not > ensure that a reasonable answer can be extracted from a given body of > data. > ~ John Tukey > > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens [EMAIL PROTECTED] > Verzonden: woensdag 2 juli 2008 12:29 > Aan: r-help@r-project

Re: [R] Correlation structures in gls with repeated measurements

2008-07-02 Thread ONKELINX, Thierry
juli 2008 12:29 Aan: r-help@r-project.org Onderwerp: [R] Correlation structures in gls with repeated measurements Hi, I am trying include a spatial correlation structure into a gls model but keep getting the following error: > ocean<-read.table("C:\\oceanography2.txt",header=TRUE

[R] Correlation structures in gls with repeated measurements

2008-07-02 Thread t03eh7
Hi, I am trying include a spatial correlation structure into a gls model but keep getting the following error: > ocean<-read.table("C:\\oceanography2.txt",header=TRUE) > library(nlme) > YEAR<-as.factor(ocean$YEAR) >group<-groupedData(san_dens~temp_grad*pyc_grad*start_thermo|YEAR,data=ocean) >