View source: R/save_variables.R
Customized plotting for different variables.
1 | plot_as_png(raster_obj, filename, name, year, options, admin0)
|
raster_obj |
A |
filename |
A string filename for the png output. |
name |
The variable and year, with an underscore between. Has to be this. |
year |
The numeric year. |
options |
A list of options for png width, height, and resolution. |
admin0 |
A shapefile with admin0 boundaries. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.