Hi Camilo,
try gls() in the nlme package.
Andrew
On Sat, Nov 15, 2008 at 11:34:57PM -0400, Camilo Mora
wrote:> Hi:
>
> Does anyone know if it is possible to run an ANCOVA in R while accounting
or
> controlling for spatial autocorrelation? I have found usefull information
into
> how to account for spatial autocorrelaion in regression models but not much
> into how to deal with the problem in an ANCOVA.
>
> Thanks,
>
> Camilo
>
> Camilo Mora, Ph.D.
> SCRIPPS Institute of Oceanography
> University of California San Diego
> San Diego, USA
> Phone: (858) 822 1642
> http://cmbc.ucsd.edu/People/Faculty_and_Researchers/mora/
> And
> Department of Biology
> Dalhouisie University
> Halifax, Canada
> Phone: (902) 494 3910
> http://as01.ucis.dal.ca/fmap/people.php?pid=53
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Andrew Robinson
Department of Mathematics and Statistics Tel: +61-3-8344-6410
University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599
http://www.ms.unimelb.edu.au/~andrewpr
http://blogs.mbs.edu/fishing-in-the-bay/