coordinate.list: List of coordinates for clustering

Description Usage Arguments Details Value Examples

View source: R/code_revised_cca.R

Description

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

Usage

1
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

1
2
3
data("landcover")

coordinate.list(landcover, 1:10)

SteffenKriewald/osc documentation built on Dec. 24, 2019, 7:06 p.m.