Description Usage Arguments Details Value Author(s) Examples
Raster conversion functions
1 | sdm_as_asc(x, xll = 1, yll = 1, cellsize = 1)
|
x |
is an object of class 'matrix' |
xll |
is the lat center (not corner!) of lower-left grid |
yll |
is the lon center (not corner!) of lower-left grid |
cellsize |
is the resolution of the raster in decimal degrees |
sdm_as_asc
is an adaptation of as.asc
from
SDMTools; extracts data from objects of class 'RasterLayer' (raster package)
into an object of class 'asc'.
Returns an object of class 'asc'.
Gopi Goteti
1 2 3 4 5 6 | ## Not run:
#create a simple object of class 'asc'
tasc = sdm_as_asc(matrix(rep(x=1:10, times=1000),nr=100)); print(tasc)
str(tasc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.