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 as.image.SpatialGrid

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

2011-02-03 Thread Ghislain Vieilledent
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 as.image.SpatialGridDataFrame before to obtain the correct colored graphic: # Doesn't w