imp_plot: Impact map plot

Description Usage Arguments Value

Description

Impact map plot

Usage

1
2
imp_plot(dtr, impacts, fpath, fnm, ftitle, crops, stats = TRUE,
  cols = c("orange", "red"), input_key = "ZA", legend = TRUE)

Arguments

dtr

Conversion raster

impacts

data.table of conversion impacts from tradeoff_mod

fpath

Directory where you want map image written

fnm

Name for the map impact image

ftitle

Text string for map title

crops

Name of crops whose conversions are being plotted

stats

TRUE/FALSE if impact statistics should be plotted on map

cols

Vector of map colors to use.

input_key

Location code

legend

TRUE/FALSE Plot legend added to map or not

Value

Output map of conversion impacts in png format


PrincetonUniversity/agroEcoTradeoff documentation built on May 8, 2019, 3:12 p.m.