Skip to contents

Define and write demography input to baseList

Usage

defineDemography(
  baseList,
  name,
  popSize = 3000,
  maximumAgeYrs,
  growthRate = NULL,
  lowerbound,
  poppercent,
  upperbound
)

define_demography(
  baseList,
  name,
  popSize = 3000,
  maximumAgeYrs,
  growthRate = NULL,
  lowerbound,
  poppercent,
  upperbound
)

Arguments

baseList

List with experiment data.

name

Name of demography data.

popSize

Population size.

maximumAgeYrs

Maximum age of simulated humans in years.

growthRate

Growth rate of human population.

lowerbound

Lower bound of age group.

poppercent

Percentage of human population in age group. Must be a numerical vector.

upperbound

Upper bound of age group. Must be a numerical vector.