[R] How to extract value from image in R ?

2013-05-16 Thread Kristi Glover
Hi R User, I am wondering how I can extract the value and want to see the value in table. Is there way? suppose I do have image (raster package) r class : RasterLayer dimensions : 192, 186, 35712 (nrow, ncol, ncell) resolution : 0.5, 0.5 (x, y) extent : -125, -32, -56, 40

Re: [R] How to extract value from image in R ?

2013-05-16 Thread Michael Sumner
tab - cbind(coordinates(r), as.data.frame(r)) should do it. Also, R-Sig-Geo is a mailing list specific for this topic On Fri, May 17, 2013 at 12:21 AM, Kristi Glover kristi.glo...@hotmail.com wrote: Hi R User, I am wondering how I can extract the value and want to see the value in table. Is