Skip to content
Prev 12452 / 29559 Next

histogram of SpatialGridDataFrame values

More simply perhaps you can get any column by name or number like any
data.frame - this gives all pixel values for the first attribute
(assuming first colname is the default - use names(dem) to find out):

dem$band1

dem[[1]]
On Fri, Aug 5, 2011 at 12:04 PM, Nick Matzke <matzke at berkeley.edu> wrote: