[R-sig-Geo] opening a grd file (Surfer)

2008-10-09 Thread Anne Goarant
Hello! Does anyone know how to open a .grd file (surfer type file) with R (or convert this kind of file in ascii)? I tried using the RSAGA library but failed. rsaga.geoprocessor("io_grid", 3, list( FILE = '10s70s0e150e.sgrd')) This are bathymetry data from the GEBCO website. Thanks Anne

[R-sig-Geo] spatial GLM using glmmPQL

2008-04-10 Thread Anne GOARANT
Hi List, I have observations of insect counts and environmental variables. My first goal was to compute a GLM to explain the insect counts with the environment. The thing is that my insect counts are not spatially independant and show spatial autocorrelation (a spherical variogram model can be

[R-sig-Geo] Adding a map to a filled.contour plot

2007-10-16 Thread Anne GOARANT
Dear List, I am using the filled.contour function with the argument plot.axis = {map('worldHires',add=T)} to add the world map to my plot. filled.contour(x,y,z,plot.axes = {map('worldHires',add=T,fill=T)}) The problem is that the longitudes of my matrix go from 0 (at Greenwich) to 360 which se