plot_as_png: Customized plotting for different variables.

Description Usage Arguments

View source: R/save_variables.R

Description

Customized plotting for different variables.

Usage

1
plot_as_png(raster_obj, filename, name, year, options, admin0)

Arguments

raster_obj

A raster::raster object.

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.


dd-harp/globalrc documentation built on Sept. 20, 2021, 12:31 a.m.