birth_counts: birth_counts_fun

View source: R/birth_counts.R

birth_countsR Documentation

birth_counts_fun

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

birth_counts(dates_needing_birth_counts, birth_rate, time_step)

Arguments

dates_needing_birth_counts

a vector of births dates to be assigned the birth count

birth_rate

a function for the distribution of births in the interval

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.