Package: DemoKin 1.0.3

Iván Williams
DemoKin: Estimate Population Kin Distribution
Estimate population kin counts and its distribution by type, age and sex. The package implements one-sex and two-sex framework for studying living-death availability, with time varying rates or not, and multi-stage model.
Authors:
DemoKin_1.0.3.tar.gz
DemoKin_1.0.3.zip(r-4.7)DemoKin_1.0.3.zip(r-4.6)DemoKin_1.0.3.zip(r-4.5)
DemoKin_1.0.3.tgz(r-4.6-any)DemoKin_1.0.3.tgz(r-4.5-any)
DemoKin_1.0.3.tar.gz(r-4.7-any)DemoKin_1.0.3.tar.gz(r-4.6-any)
DemoKin_1.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
DemoKin/json (API)
NEWS
| # Install 'DemoKin' in R: |
| install.packages('DemoKin', repos = c('https://ivanwilli.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ivanwilli/demokin/issues
Pkgdown/docs site:https://ivanwilli.github.io
- demokin_codes - DemoKin codes, Caswell (2020) codes, and useful labels.
- f_caswell_2021 - Historic and projected fertility ratios from Sweden used in Caswell
- F_mat_fem_edu - Singapore: Lists of matrices containing fertility rates by age and education. Females
- F_mat_male_edu - Singapore: Lists of matrices containing fertility rates by age and education. Males
- Female_parity_fert_list_UK - UK female fertility from 1965 to 2022
- Female_parity_mortality_list_UK - UK female parity mortality from 1965 to 2022
- fra_asfr_sex - Fertility for France (2012) by sex in Caswell (2022).
- fra_surv_sex - Survival probability for France (2012) by sex in Caswell (2022).
- H_mat_edu - Singapore: List of matrices that redistribute newborns to age-class 1 and "no education" category
- kin_svk1990_caswell2020 - Output for Slovakia 1990 in Caswell (2020).
- Male_parity_mortality_list_UK - UK male parity mortality from 1965 to 2022
- Parity_transfers_by_age_list_UK - UK female parity transitions from 1965 to 2022
- pi_caswell_2021 - Historic and projected mother´s age distribution of childbearing from Sweden used in Caswell
- Redistribution_by_parity_list_UK - UK parity assign parity at birth
- svk_fxs - Female Slovakian fertility rates by parity stage in 1990
- svk_Hxs - Age where assign offspring of individuals in each partity stage (Caswell, 2021). All to zero age in this case.
- svk_pxs - Female Slovakian survival probabilities by parity stage in 1990
- svk_Uxs - Probability of transition among parity stage for Slovakia in 1990, for each age, conditional on survival (Caswell, 2021).
- swe_asfr - Swedish age-specific fertility rates from 1900 to 2015
- swe_pop - Female swedish population from 1900 to 2015
- swe_px - Female swedish survival probabilities from 1900 to 2015
- swe_Sx - Female swedish survival ratios from 1900 to 2015
- T_mat_fem_edu - Singapore: Lists of transition matrices showing probabilities of moving between education states. Females
- T_mat_male_edu - Singapore: Lists of transition matrices showing probabilities of moving between education states. Males
- U_caswell_2021 - Historic and projected survival ratios from Sweden used in Caswell
- U_mat_fem_edu - Singapore: Lists of matrices containing survival probabilities by age (rows) and education (columns) from 2020-2090. Females
- U_mat_male_edu - Singapore: Lists of matrices containing survival probabilities by age (rows) and education (columns) from 2020-2090. Males
Last updated from:66e0c84b0f. Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 196 | ||
| source / vignettes | OK | 393 | ||
| linux-release-x86_64 | WARNING | 199 | ||
| macos-release-arm64 | WARNING | 162 | ||
| macos-oldrel-arm64 | WARNING | 157 | ||
| windows-devel | WARNING | 172 | ||
| windows-release | WARNING | 143 | ||
| windows-oldrel | WARNING | 159 | ||
| wasm-release | OK | 114 |
Exports:%>%kinkin_multi_stagekin_multi_stage_time_variant_2sexkin_time_invariantkin_time_invariant_2sexkin_time_invariant_2sex_codkin_time_variantkin_time_variant_2sexkin_time_variant_2sex_codkin2sexoutput_period_cohort_combinationplot_diagramrename_kintimevarying_kintimevarying_kin_2sextimevarying_kin_2sex_cod
Dependencies:clicpp11data.tabledplyrgenericsglueigraphlatticelifecyclemagrittrMASSMatrixmatrixcalcpillarpkgconfigplyrpurrrR6Rcppreshape2rlangstringistringrtibbletidyrtidyselectutf8vctrswithr
One-sex time-invariant kinship model specified by age
Rendered from1_1_OneSex_TimeInvariant_Age.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2025-04-25
Started: 2025-04-24
One-sex time-invariant kinship model specified by age and stage
Rendered from2_1_OneSex_TimeInvariant_AgeStage.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2025-04-25
Started: 2025-04-24
One-sex time-varying kinship model specified by age
Rendered from1_2_OneSex_TimeVarying_Age.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2025-04-25
Started: 2025-04-24
Two-sex time-invariant kinship model specified by age
Rendered from1_3_TwoSex_TimeInvariant_Age.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2025-04-25
Started: 2025-04-24
Two-sex time-varying kinship model specified by age
Rendered from1_4_TwoSex_TimeVarying_Age.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2025-04-25
Started: 2025-04-24
Two-sex time-varying kinship model specified by age and stage
Rendered from2_2_TwoSex_TimeVarying_AgeStage.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2026-05-21
Started: 2025-04-24