# 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)
# }
Run the code above in your browser using DataLab