Big thanks to all the respondents for their help with my problem last week.
Based on their suggestions it seems that the way to solve my problem is to use
the following commands:
gp <- gridparameters(obj)
gp <- round(gp,3)
GT <- with(gp, GridTopolopy(cellcentre.offset, cellsize, cells.dim))
obj
Hi there,
I have a SpatialGridDataFrame object and I wish to round the coordinates
associated with the grid to three decimal places in order to match points in
this object with points on another spatial object where the coordinates are
recorded to three decimal places.
Some information about