make_raster_file | R Documentation |
Saves a raster to file using a custom name for the value column.
make_raster_file(x, filename, format, overwrite, layer_name)
x |
A raster object |
filename |
A filename where the raster will be written |
format |
Format to use to write the raster (see raster::writeRaster) |
overwrite |
Logical. Should existing rasters be overwritten |
layer_name |
Character or numeric vector indicating the name for the single layer raster. Must be a valid name for a raster layer. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.