Skip to contents

Runs the population model

Usage

PopulationModel_Run(
  dose = NA,
  sr_wb_dat = NA,
  life_cycle_params = NA,
  HUC_ID = NA,
  n_years = 100,
  MC_sims = 10,
  stressors = NA,
  output_type = "full",
  habitat_dd_k = NULL
)

Arguments

dose

dataframe. Stressor magnitude dataset imported from StressorMagnitudeWorkbook().

sr_wb_dat

list object. Stressor response workbook imported from StressorResponseWorkbook().

life_cycle_params

dataframe. Life cycle parameters.

HUC_ID

character. HUC_ID for the subwatershed unit.

n_years

numeric. Number of years to run the population.

MC_sims

numeric. set number of Monte Carlo simulations for the Population Model.

stressors

(optional) character vector of stressor names to include in the Population Model. Leave the default value as NA if you wish to include all stressors applicable to the population model.

output_type

(optional) character. Set to "full" for all data of "adults" for only adult data.

habitat_dd_k

(optional) dataframe of location and stage-specific habitat capacity k values for the target species. If used this dataframe will override the capacity estimates

Details

Runs the integrated population model within the Joe Model stress-response framework. The population model is run for a single subwatershed unit (HUC_ID). Inputs for the PopulationModel_Run include the stressor-response and stressor magnitude workbooks as well as the life cycle parameters table.

Examples

if (FALSE) {
library(CEMPRA)
}