[R-sig-Geo] no slot of name "data" for this object of class "RasterStack"
Robert Hijmans
r.hijmans at gmail.com
Thu Jan 6 19:34:31 CET 2011
Peter, I did not do the cropping, so it should probably be:
s <- stack(filenames)
mask <- raster("wheatmask")
sc <- crop(s, mask)
v <- getValues(sc)
Robert
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/no-slot-of-name-data-for-this-object-of-class-RasterStack-tp5896279p5896633.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list