run_sensitivity: Run univariate sensitivity analyses

Description Usage Arguments Value

Description

Running simulations over a set of varying parameters, where each parameter is changed while holding all others constant. It runs in parallel using the doSNOW and foreach packages.

Usage

1
2
run_sensitivity(p, p.seq, n.sim, ngrid, ncell, g.p, control.p, lc.df,
  verbose = FALSE, makeGIFs = FALSE)

Arguments

p

Parameter to perform the sensitivity analysis on

p.seq

Sequence of values for the parameter

n.sim

2 Number of simulations for each parameter value

ngrid

Number of grid cells in entire map

ncell

Number of inbound grid cells

g.p

Named list of global parameters set with set_g_p. The value of parameter p will be updated within the loop for each value in p.seq.

control.p

NULL or named list of buckthorn control treatment parameters set with set_control_p

lc.df

Dataframe or tibble with xy coords, land cover proportions, and cell id info

verbose

FALSE Give updates for each year & process?

makeGIFs

FALSE Make a gif for each parameter set?

Value

Success message


Sz-Tim/gbPopMod documentation built on Dec. 7, 2020, 1:07 p.m.