Last chance! 50% off unlimited learning
Sale ends in
validCell(object, cell)
validCol(object, colnr)
validRow(object, rownr)
#using a new default raster (1 degree global)
r <- raster()
validCell(r, c(-1, 0, 1))
validRow(r, c(-1, 1, 100, 10000))
Run the code above in your browser using DataLab