Re: [R-sig-Geo] Question about cokriging on sphere

2012-10-25 Thread Edzer Pebesma
You are still using the deprecated interface that accepts data.frame objects as input. Please see demo(cokriging) to find out how the interface with Spatial* objects works, and read ?proj4string to find out how to specify projection systems for such objects. On 10/24/2012 10:39 PM, Zhaofeng Yang

[R-sig-Geo] Question about cokriging on sphere

2012-10-24 Thread Zhaofeng Yang
Hi all, I am new to geostatistics and need some help on projection. I am working on a bivariate model of a sphere and want to do cokriging with gstat package in R. My data look like > head(mydata)          lon         lat         v1         v2 1  2.1238698  0.87854240  1.8051750  1.044 2 -2