[R-sig-Geo] problems with predict() in raster package

2011-02-03 Thread LWF
Hello, I get an error message when using the predict function (raster package) with a GLM and a rasterStack. Did somebody have the same error message or can give me a hint what I am doing wrong. dv - raster(dv.sgrd) fpi - raster(fpi.sgrd) hut - raster(hut.sgrd) train -

Re: [R-sig-Geo] Package sp: image() and breaks= for SpatialGridDataframe

2011-02-03 Thread Edzer Pebesma
On 02/03/2011 10:10 AM, Ghislain Vieilledent wrote: Dear list, I encountered a problem using function image() and argument breaks on a SpatialGridDataFrame object (package sp version 0.9-76, R version 2.12.1 (2010-12-16) on Ubuntu 10.04). I had to use function

Re: [R-sig-Geo] Plot Histogram with axes inverted

2011-02-03 Thread Etienne Bellemare
Package gglot2::coord_flip() could be of help. Etienne 2011/2/1 ldec...@comcast.net i'd suggest using table() to generate the frequencies then displaying as a barplot(..., horiz = T) . Lee De Cola, PhD, MCP. DATA to Insight ldec...@comcast.net Reston, Virginia 571 315 0577

[R-sig-Geo] RgoogleMaps

2011-02-03 Thread Meesters, Erik
Dear all, I'm using the package RgoogleMaps to import google earth maps into R. The object that is retrieved with function GetMap contains a number of slots which I think can be used to translate the google picture into a geoTiff to for example import into ArgGis. If anyone would have an

[R-sig-Geo] Convert Polygons To Raster

2011-02-03 Thread Jaime Burbano Girón
Hi everybody. I need to convert one polygon to a raster object. I've looked at the packages: sp, rgdal and raster, quickly, but I didn´t find how to do this, just there are commands to perform the otherwise operation, can someone help me with it? Thanks in advance. -- Jaime Burbano Girón

[R-sig-Geo] Spatial autocorrelation structure

2011-02-03 Thread Arnaud Mosnier
Dear Geo-UseRs, I am trying to fit a linear model in lme considering the spatial autocorrelation structure of my data. I know that the correlation has a half-normal shape, so I use the function corGaus. Observations are coming from several surveys, done at various dates (sometimes several