susceptible_population: susceptible_population

View source: R/susceptibles_population.R

susceptible_populationR Documentation

susceptible_population

Description

a function that returns a matrix of numeric values for age and time, representing the number of individuals within the population who are alive and not infected

Usage

susceptible_population(
  cumulative_survival_matrix,
  birth_counts,
  pmtct_birthcount
)

Arguments

cumulative_survival_matrix

matrix of cumulative survival probabilities in the susceptible from birth till the specified age and time.

birth_counts

vector of numberic values representing the total birth counts for each birth count.

pmtct_birthcount

number of newborns infected

Value

a matrix of the susceptible population at a specified age and time. number in each cell of the matrix represent the number of individuals in the population who are alive and un-infected


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