Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.02 KB

README.md

File metadata and controls

20 lines (11 loc) · 1.02 KB

hrs-selection

Investigating natural selection in the US Health and Retirement Study. Now published in Behavior Genetics.

The paper is at hrs-selection.pdf.

A quick informal intro is here.

To reproduce

You'll need quarto and R.

You'll need data from the RAND HRS, including genetic data, and the PGI repository: see the setup chunk in hrs-selection.qmd for details on where to put them. We can help if you are stuck.

Clone this repository with git clone https://github.com/hughjonesd/hrs-selection. Start R within the root directory. It will install renv and the required R libraries. Then from the shell, run quarto render hrs-selection.qmd to produce the PDF.