Description Usage Arguments Value Author(s) Examples
getXYcoords
computes the geographical coordinates of
the rows and columns of pixels of a raster map of class
asc
. Code & helpfile were modified from adehabitat
package.
1 | getXYcoords(w)
|
w |
an object of class |
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 |
Jeremy VanDerWal jjvanderwal@gmail.com
1 2 | tasc = as.asc(matrix(rep(x=1:10, times=1000),nr=100)); print(tasc)
getXYcoords(tasc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.