[R-sig-Geo] space time variogram

Edzer Pebesma edzer.pebesma at uni-muenster.de
Tue Feb 26 13:08:21 CET 2013


Erin, there is AFAIK in R no other way to represent a year then by its 
first Date, and that is what Jonesmus did.

Jonesmus, I didn't see the map that you mentioned in your email.

In the plot that you sent, lag1 refers to the first temporal lag.

variogramST will assume time to be strictly regular regardless whether 
it is -- often it isn't (years, months, even days in local time zones 
have irregular length) but nearly is. In your plot, lag1 means time[1] 
to time[2], time[2] to time[3] etc, indicating one year to the next 
(whether this is 365 days, or 366).

Please, in postings, give a complete record of what you did to obtain 
certain results -- this post might be complete speculative and hence 
completely useless to you.

On 02/26/2013 12:43 PM, Hodgess, Erin wrote:
> Hello!
>
> I think it is showing days rather than years.
>
>
> ________________________________
> From: r-sig-geo-bounces at r-project.org [r-sig-geo-bounces at r-project.org] on behalf of Jonesmus Wambua [jonesmus.mutua at gmail.com]
> Sent: Tuesday, February 26, 2013 4:03 AM
> To: r-sig-geo at r-project.org
> Subject: [R-sig-Geo] space time variogram
>
> hi,
> am specifying a variogram with 53 years by generating the time variable as follows:
>
> time <- as.POSIXct(paste0(1960:2012,"-01-01"), tz = "GMT")
>
> When i generate the map variagram, it comes with time in thousands (see attached map). how can i make sure that it gives time in years with a reasonable range?
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list