coordinate.list | R Documentation |
Extracts coordinates of cells with defined cell class from a raster object.
coordinate.list(raster, cell.class, compare = "")
raster |
raster with values |
cell.class |
number or vector of cell-values for clustering |
compare |
character of type "", "g" or "s". If "g" or "s" all coordinates of cells with value greater "g" resp. smaller "s" than cell.class will be extracted |
Works also for very large raster, but can take some time.
Returns a data frame with lat-, long-coordinates
data("landcover") coordinate.list(landcover, 1:10)