update_env_constant_population: Run the simulation of the population where we include births...

View source: R/Schistox.R

update_env_constant_populationR Documentation

Run the simulation of the population where we include births and deaths, but each death is matched by one birth

Description

Run the simulation of the population where we include births and deaths, but each death is matched by one birth

Usage

update_env_constant_population(
  num_time_steps,
  humans,
  miracidia,
  cercariae,
  pars,
  mda_info,
  vaccine_info
)

Arguments

num_time_steps

how many time steps to run forward for

humans

human population

miracidia

environmental miracidia

cercariae

environmental cercariae

pars

parameters

mda_info

mda's to enact

vaccine_info

vaccinations to enact

Value

A list variable is returned containing the humans array, miracidia, cercariae and the record of statistics over the course of the run to equilibrium. To access the humans array, if we output from this function to a variable env, then by running env$humans, we will return the humans array.


mattg3004/SchistoxpkgR documentation built on March 1, 2023, 10:46 a.m.