coordinate.list {osc}R Documentation

List of coordinates for clustering

Description

Extracts coordinates of cells with defined cell class from a raster object.

Usage

coordinate.list(raster, cell.class, compare = "") 

Arguments

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

Details

Works also for very large raster, but can take some time.

Value

Returns a data frame with lat-, long-coordinates

Examples

data("landcover")

coordinate.list(landcover, 1:10)


[Package osc version 1.0.5 Index]