[R-sig-Geo] units of spatial distance in variogram

Edzer Pebesma edzer.pebesma at uni-muenster.de
Mon Feb 25 11:14:04 CET 2013


if your data are latitude/longitude, and you specified them to be so 
(i.e., is.projected(object) is TRUE), then distance is in km, else 
distance is in the units of the original data coordinates.

(I recognized your output to come from gstat::variogram, but please 
mention such details in future postings)

On 02/25/2013 10:58 AM, Jonesmus Wambua wrote:
> when computing variogram, what are the units of the dist in the output
> below. are they in km?
>
>      np      dist    gamma   id timelag spacelag
> 2  90855  1.148903 42.10353 lag0       0        1
> 3 114349  2.929328 40.82177 lag0       0        3
>
> 	[[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