sdm_getXYcoords: Computes the X and Y Coordinates of the Pixels of a Raster...

Description Usage Arguments Details Value Author(s) Examples

View source: R/sdm_getXYcoords.R

Description

Computes the X and Y Coordinates of the Pixels of a Raster Map

Usage

1

Arguments

w

an object of class asc.

Details

sdm_getXYcoords is an adaptation of getXYcoords from SDMTools; computes the geographical coordinates of the rows and columns of pixels of a raster map of class asc.

Value

Returns a list with two components:

x

the x coordinates of the columns of pixels of the map

y

the y coordinates of the rows of pixels of the map

Author(s)

Gopi Goteti

Examples

1
2
3
4
5
## Not run: 
tasc = sdm_as_asc(matrix(rep(x=1:10, times=1000),nr=100)); print(tasc)
sdm_getXYcoords(tasc)

## End(Not run)

raincpc documentation built on Jan. 31, 2020, 9:06 a.m.