pmtct_birthcounts: PMTCT_birthcounts

View source: R/PMTCT_birthcounts.R

pmtct_birthcountsR Documentation

PMTCT_birthcounts

Description

a function that returns a numeric vector of birth counts from the arguments of total births, a range of birth dates and an indicted birth rate

Usage

pmtct_birthcounts(
  dates_needing_birth_counts,
  pmtct_birth_rate,
  birth_count,
  time_step
)

Arguments

dates_needing_birth_counts

a vector of births dates to be assigned the birth count

pmtct_birth_rate

a function for the distribution of births in the interval

birth_count

total number of births at given date births

time_step

the time step between consecurtive birth dates in the vector list_of_birth_times

Value

Returns a vector of bith counts


laurettemhlanga/PopulationSimulation documentation built on Sept. 9, 2023, 12:39 p.m.