[R-sig-Geo] Convert a Matrix into a SpatialGridDataFrame

jjcabrera20 jjcabrera20 at yahoo.com.mx
Tue Mar 13 11:42:16 CET 2012


Hello everybody there!!
Maybe a silly question but for doing some manipulation on values of a
SpatialGridDataFrame I transformed it into a matrix like this
*Matrix<- as.matrix(SpatialGridDataFrame)*
now I want to go back and turn the matrix again into SpatialGridDataFrame,
but I can't find the way.
The matrix is still the same (number of rows and columns, grid size,
projection) as the original.

Thanks 

Jorge

--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Convert-a-Matrix-into-a-SpatialGridDataFrame-tp7368054p7368054.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list