model_runs: model runs function (internal)

Description Usage Arguments

View source: R/model_runs.R

Description

model runs function (internal)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
model_runs(
  start_year,
  end_year,
  country,
  mar_prob,
  impact,
  sex = 0,
  state_names = c("Unmarried", "Married", "Dead"),
  pop_growth,
  init_size
)

Arguments

start_year

year of simulation start.

end_year

year of simulation end

country

three letter abbreviation of country WHO standard

mar_prob

a vector of marriage probabilities (equal in length to ncycles)

impact

a number

sex

sex for life table queries (0 = female) the default otherwise male

state_names

a vector of state names

pop_growth

population growth rate as a proportion

init_size

population size for initial cohort


Joshua-Yukich/childmarriager documentation built on Oct. 9, 2020, 5:12 p.m.