gen_bdprob: Generate a base or wrapped biodiversity problem

gen_bdprobR Documentation

Generate a base or wrapped biodiversity problem

Description

Problem can be a base problem or a wrapped problem. Generally, the control for this decision is contained in the parameters list. However, in some functions, you may want to set the value yourself while looping through lots of different combinations. To allow that override, you can pass the controlling value for gen_multi_bdproblem as a non-NULL boolean argument.

Usage

gen_bdprob(
  parameters,
  starting_dir,
  integerize,
  gen_multi_bdproblem = NULL,
  base_bdprob = NULL
)

Arguments

parameters

parameters list for the run, usually derived from project.yaml and can have a varying number and set of elements depending on the run

starting_dir

string containing full path of top directory where problems and/or runs are to be created

integerize

function to use in converting floats to ints

gen_multi_bdproblem

NULL or boolean indicating whether to generate a multi_bdproblem or not; if NULL then derive the value from the parameters list

base_bdprob

NULL or an existing bdprob to use in creating multi_bdproblem

Value

biodiversity problems


langfob/bdpg documentation built on Dec. 8, 2022, 5:33 a.m.