powered by
Helper function to find raster extension
match_rformat(format)
(character) any of the format types allowed for raster objects. See writeFormats (e.g., "GTiff").
writeFormats
Raster extension according to format type.
# NOT RUN { match_rformat("GTiff") # }
Run the code above in your browser using DataLab