Kincounts is a research project for modeling how fertility distributions shape sibling and kin distributions, and for estimating findability in long-range familial search.
This repository includes:
- A Quarto website with methods, derivations, and analysis outputs
- A Shiny app for interactive parameter estimation and simulation
- Data and output folders with example and generated files
- _quarto.yml: Quarto website configuration
- analysis: analysis pages and supporting files
- app: Shiny app code
- data: input datasets
- output: generated outputs from analyses/simulations
- docs: rendered site output
- renv-setup.R: helper script to install analysis package dependencies
- R (recommended recent version)
- Quarto CLI installed and available in PATH
Optional for interactive app use:
- R packages used by the app: shiny, bslib, DT
Run the analysis dependency setup script:
Rscript renv-setup.RIf you also plan to run the Shiny app, install app dependencies:
install.packages(c("shiny", "bslib", "DT"), repos = "https://cloud.r-project.org")Render the full Quarto site:
quarto renderStart live preview:
quarto previewRendered output is written to docs.
From R:
shiny::runApp("app/app.R")- Site navigation and global rendering options are configured in _quarto.yml.
- Analysis pages include both methodological derivations and simulation/model-fitting code.
- The repository may include generated artifacts in docs and output, depending on your workflow.