# Simulation of Populations by Sampling Waiting-Time Distributions

## Documentation for package ‘VirtualPop’ version 1.0.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

Children | Generates Individual Fertility Histories, Using Function Sim_bio.
dataLH | dataLH data
dpopus | dpopus data Population of the United States in 2019 reported in the HMD (Population.txt file)
GetData | Reads data from the HMD and HFD
GetGenerations | Creates Database 'dataLH' from Mortality Rates and Fertility Rates
GetRates | Retrieves Data from HMD and HFD for a Selected Country (All Years)
H_pw | Computes cumulative hazard at duration t.
Lifespan | Generates Individual Lifespan(s)
Partnership | Allocates Partners to Members of Virtual Population.
pw_root | Equation for which root must be determined.
r.pw_exp | Sample from a piecewise-constant exponential distribution.
rates | rates data
Sim_bio | Generic Function to Generate Single Life History