Analysis code for: Distance and near vision impairment and the risk of subsequent ADL and IADL limitations: findings from the CHARLS longitudinal cohort study
Authors/Creators
- 1. Eye School of Chengdu University of TCM
- 2. Hospital of Chengdu University of TCM
Description
R code reproducing all analyses, tables and figures in the manuscript "Distance and near vision impairment and the risk of subsequent ADL and IADL limitations: findings from the CHARLS longitudinal cohort study". The code builds the analysis datasets from the raw China Health and Retirement Longitudinal Study (CHARLS) files and performs Cox proportional hazards, discrete-time, competing-risk, inverse-probability-weighted and multiple-imputation analyses. CHARLS data are not included and are available to registered users at http://charls.pku.edu.cn/. See README.md for instructions.