Description Usage Arguments Details Value Author(s) Examples
View source: R/sdm_raster_from_asc.R
Raster conversion functions
1 |
x |
is an object of class 'asc' |
sdm_raster_from_asc
is an adaptation of
raster.from.asc
from SDMTools; creates an object of
class 'RasterLayer' (raster package) from an object of class 'asc'.
Returns an object of class requested.
Gopi Goteti
1 2 3 4 5 6 7 8 9 10 | ## 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)
#convert to RasterLayer
traster = sdm_raster_from_asc(tasc)
str(traster)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.