BuildViP |
Builds a Virtual Population in a Single Step |
Children |
Generates Individual Fertility Histories |
dLH |
Individual fertility histories based on period data and in the presence of mortality (USA 2021) |
e0 |
Mean Ages at Death and Probabilities of Surviving to Selected Ages, by Sex |
GetData |
Reads Data from the HMD and HFD into R |
GetGenerations |
Builds a Multi-Generation Virtual Population from demographic parameters |
GetRates |
Retrieves Period Mortality and Fertility Rates from HMD and HFD for a Selected Country and Selected Year |
GetRatesC |
Retrieves Cohort Data from the HMD and HFD and Obtains Cohort Rates |
H_pw |
Computes Cumulative Hazard at Duration t under a Piecewise Exponential Model |
Lifespan |
Generates Individual Lifespan(s) |
PartnerSearch |
Simple Partner Search Simulation |
pw_root |
The Function for which the Root is Sought. |
r.pw_exp |
Draws Waiting Times from a Piecewise-Exponential Distribution. |
rates |
Period rates |
ratesC |
Cohort rates |
Sim_bio |
Generic Function to Generate Single Life History |