do_rs_analysis_and_output: Run reserve selector(s) on bdproblem and write output from...

do_rs_analysis_and_outputR Documentation

Run reserve selector(s) on bdproblem and write output from all analyses

Description

Note that the COR and APP arguments are the same if running on a correct problem.

Usage

do_rs_analysis_and_output(
  APP_bd_prob,
  COR_bd_prob,
  parameters,
  starting_dir,
  src_rds_file_dir = NULL,
  spp_rep_targets = rep(1, COR_bd_prob@num_spp)
)

Arguments

APP_bd_prob

an apparent Xu_bd_problem

COR_bd_prob

a correct Xu_bd_problem

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

src_rds_file_dir

string containing full path of directory where source rds file is or was found

spp_rep_targets

numeric vector with a target abundance for each species in the problem

Value

Returns named list containing top directory for each reserve selector that was run


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