[R] nlme: spatial autocorrelation on a sphere

2012-09-30 Thread Dan Bebber
I have spatial data on a sphere (the Earth) for which I would like to run an gls model assuming that the errors are autcorrelated, i.e. including a corSpatial correlation in the model specification. In this case the distance metric should be calculated on the sphere, therefore metric = "euclid

Re: [R] nlme: spatial autocorrelation on a sphere

2012-10-01 Thread Dan Bebber
imagine it must be possible for nlme. Dan From: David Winsemius [dwinsem...@comcast.net] Sent: 01 October 2012 08:38 To: Dan Bebber Cc: r-help@r-project.org Subject: Re: [R] nlme: spatial autocorrelation on a sphere On Sep 30, 2012, at 6:48 PM, Dan Bebber

Re: [R] nlme: spatial autocorrelation on a sphere

2012-10-01 Thread Dan Bebber
___ From: David Winsemius [dwinsem...@comcast.net] Sent: 01 October 2012 17:32 To: Spencer Graves Cc: Dan Bebber; r-help@r-project.org Subject: Re: [R] nlme: spatial autocorrelation on a sphere On Oct 1, 2012, at 8:34 AM, Spencer Graves wrote: > On 10/1/2012 12:38 AM,

Re: [R] nlme: spatial autocorrelation on a sphere

2012-10-01 Thread Dan Bebber
ssful. Dan From: Spencer Graves [spencer.gra...@prodsyse.com] Sent: 02 October 2012 04:29 To: Dan Bebber Cc: David Winsemius; r-help@r-project.org Subject: Re: [R] nlme: spatial autocorrelation on a sphere Hi, Dan: On 10/1/2012 8:07 PM, Dan Bebber wrote: > Please be ass

Re: [R] nlme: spatial autocorrelation on a sphere

2012-10-03 Thread Dan Bebber
"Upper") <- upper attr(d, "method") <- METHODS[method] if (method == 6) attr(d, "p") <- p attr(d, "call") <- match.call() class(d) <- "dist" return(d) } [End forwarded message] > Date: Tue, 2 Oct 2012 2

[R] Poor quality plotting symbols in Windows metafile

2010-12-22 Thread Dan Bebber
plotting symbols in metafiles appear as vectors? Thanks, Dan Bebber Using: R 2.11.1, Windows Vista Business __ R-help@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

[R] SpatialPolygonsDataFrame holes problem

2011-07-09 Thread Dan Bebber
lygonsComment(p) : #rgeos_PolyCreateComment: orphaned hole, cannot find containing polygon for hole at index 2 #Code ends I don't know my way around SpatialPolygonsDataFrame objects very well, and have no idea how to fix the errant hole. Any help greatly appreciated. Thanks Dan Bebber ___

Re: [R] SpatialPolygonsDataFrame holes problem

2011-07-10 Thread Dan Bebber
: Sat 09/07/2011 18:49 To: Dan Bebber Cc: r-help@r-project.org; edzer.pebe...@uni-muenster.de Subject: Re: SpatialPolygonsDataFrame holes problem On Sat, 9 Jul 2011, Dan Bebber wrote: > I have obtained shapefiles for Indian states from here: > http://www.maptell.com/index.php?

[R] rworldmap: xlim, ylim do not change plotting region

2012-01-10 Thread Dan Bebber
2.14.1 on Linux Mint 11 64bit. Thanks, Dan Dr Dan Bebber Head of Climate Change Research, Earthwatch Institute, 256 Banbury Road, Oxford OX2 7DE, UK Research Fellow in Biology, St. Peter's College, University of Oxford Tel. +44 (0)1865 318842, Mob. +44 (0)7729 167502, Fax. +44 (0

[R] lme: Testing within-group coefficients

2012-05-29 Thread Dan Bebber
110898 0. ... Many thanks, Dan Bebber __ R-help@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-con

[R] plot.augPred with grouping factors

2007-12-31 Thread Dan Bebber
eplicate by default) Many thanks, Dan Bebber Checked by AVG Free Edition. 11:51 __ R-help@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 c

[R] nlme: Variogram.gls error with grouping factor

2008-01-17 Thread Dan Bebber
"euclidean") # gives error #End Running the example in ?Variogram.gls gives the same error fm1 <- gls(weight ~ Time * Diet, BodyWeight) Variogram(fm1, form = ~ Time | Rat)[1:10,] Any ideas most appreciated. Dan Bebber Checked by AVG Free Edition. 09:01