Description Usage Arguments Details Value Examples
View source: R/code_revised_cca.R
Extracts coordinates of cells with defined cell class from a raster object.
1 | 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
1 2 3 | data("landcover")
coordinate.list(landcover, 1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.