decision: Run multiple PVA simulations initialized with different...

View source: R/decision.R

decisionR Documentation

Run multiple PVA simulations initialized with different control scenarios to compare their simulated costs and outcomes.

Description

Run multiple PVA simulations initialized with different control scenarios to compare their simulated costs and outcomes.

Usage

decision(
  params,
  decision_csv = NULL,
  decision_list = NULL,
  custom_inits = NULL,
  sens_percent = NULL,
  direction = NULL,
  sens_params = NULL,
  parallel = F,
  pretty = F,
  quiet = F
)

Arguments

params

Original population and control parameters for the target species and control gear. See 'load_pva_parameters'.

decision_csv

(One of decision_csv or decision_list must be provided) Path to a csv file containing scenario-specific control parameters to be used in decision making. May be created with 'decision_setup'.

decision_list

(One of decision_csv or decision_list must be provided) An R list containing named parameters and associated values for each scenario. May be created with 'decision_setup'.

custom_inits

(Optional, invoked by the 'rankUncertainty' function) A vector containing the names of which parameters, if any, should differ from the values provided in pva.params.

sens_percent

(Optional, invoked by the 'rankUncertainty' function) For the sake of sensitivity analysis, how much should population parameters (i.e. , , , , , , )

direction

(Optional, invoked by the 'rankUncertainty' function) Should biological parameters be increased or decreased by 'sens.percent'?

parallel

(Optional), if TRUE decision simulations are run in parallel using outputs are formatted with dollar signs and commas to "prettify")

pretty

(Optional), if TRUE decision outputs are formatted as in the shiny app, with comma delimiters and dollar signs.


mairindeith/PVAInvasR_RPackage documentation built on Feb. 1, 2023, 3:17 p.m.