Package: VirtualPop 1.0.3

VirtualPop: Simulation of Populations by Sampling Waiting-Time Distributions

Generates lifespans and fertility histories in continuous time using individual-level state transition (multi-state) models and data from the Human Mortality Database and the Human Fertility Database. To facilitate virtual population analysis, data on virtual individuals are stored in a data structure commonly used in sample surveys. Life histories are generated for multiple generations. The genealogies that result facilitate the study of family ties.

Authors:Frans Willekens [aut, cre], Tim Riffe [ctb]

VirtualPop_1.0.3.tar.gz
VirtualPop_1.0.3.zip(r-4.5)VirtualPop_1.0.3.zip(r-4.4)VirtualPop_1.0.3.zip(r-4.3)
VirtualPop_1.0.3.tgz(r-4.4-any)VirtualPop_1.0.3.tgz(r-4.3-any)
VirtualPop_1.0.3.tar.gz(r-4.5-noble)VirtualPop_1.0.3.tar.gz(r-4.4-noble)
VirtualPop_1.0.3.tgz(r-4.4-emscripten)VirtualPop_1.0.3.tgz(r-4.3-emscripten)
VirtualPop.pdf |VirtualPop.html
VirtualPop/json (API)

# Install 'VirtualPop' in R:
install.packages('VirtualPop', repos = c('https://willekens.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/willekens/virtualpop/issues

Datasets:
  • dataLH - DataLH data
  • dpopus - Dpopus data Population of the United States in 2019 reported in the HMD
  • rates - Rates data

On CRAN:

demographylife-historiesmultistate-modelssimulation

5.45 score 14 stars 2 scripts 152 downloads 10 exports 52 dependencies

Last updated 2 years agofrom:8ab00d1f8f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winOKNov 02 2024
R-4.5-linuxOKNov 02 2024
R-4.4-winOKNov 02 2024
R-4.4-macOKNov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:ChildrenGetDataGetGenerationsGetRatesH_pwLifespanPartnershippw_rootr.pw_expSim_bio

Dependencies:askpassbitbit64clicliprcpp11crayoncurldplyrexpmfansigenericsglueHMDHFDplushmshttrjanitorjsonlitelatticelifecyclelubridatemagrittrMatrixmimemsmmvtnormopensslpillarpkgconfigprettyunitsprogresspurrrR6readrrlangrvestselectrsnakecasestringistringrsurvivalsystibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithrxml2

Sampling Piecewise-Exponential Waiting Time Distributions

Rendered fromPiecewise_exponential.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2022-07-07
Started: 2022-06-09

Simulation of life histories

Rendered fromMultistateLH.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2022-07-07
Started: 2022-06-09

Validation of the simulation

Rendered fromValidation.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2023-02-11
Started: 2022-06-09

VirtualPop: Simulation of individual fertility careers from age-specific fertility and mortality rates

Rendered fromTutorial.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2022-07-07
Started: 2022-06-09