plot_map_emulated_yields: A function to save 4 core Impact response surfaces for paper,...

Description Usage Arguments

Description

A function to save 4 core Impact response surfaces for paper, given a specific functional form for a specific ensemble and the corresponding coefficients for mu and sigma.

Usage

1
2
3
4
plot_map_emulated_yields(crop, coefpath = "data/emulatorcoefficients",
  ctwpath = "data/climatedata/hadgem2es", mapsavepath = "figures/maps",
  plotyear = 2085, plotirr = "RFD", func, sdfunc, high = FALSE,
  low = FALSE)

Arguments

crop

The crop to calculate changes for, including looking up coefficients

coefpath

The location of the coefficients, defaults to "data/emulatorcoefficients"

ctwpath

The location of the driving CTW data, defaults to "data/climatedata/hadgem2es"

mapsavepath

The location to save the output maps, defaults to "figures/maps"

plotyear

The year to plot, defaults to 2085

plotirr

The type of crop to plot, RFD or IRR. Defaults to RFD

func

The name of the functional form for mu, for looking up coefficients

sdfunc

The name of the functional form for sigma, for looking up coefficients

high

If you want to return the high response case instead of the mean, defaults to FALSE

low

If you want to return the low response case instead of the mean, defaults to FALSE


JGCRI/persephone documentation built on May 9, 2019, 3:25 a.m.