Published June 28, 2025 | Version v1.0.0

v1.0.0: Initial Code Release for "Long-term impacts of heatwaves on accelerated ageing"

  • 1. Department of Urban Planning and Design, Faculty of Architecture, the University of Hong Kong, Hong Kong SAR, China.
  • 2. School of Public Health, Guangzhou Medical University, Guangzhou, China.
  • 3. Department of Environmental Health Risk Assessment, Chinese Center for Disease Control and Prevention, China.
  • 4. Research Center for Humanities and Social Sciences, Academia Sinica, Taipei, Taiwan.
  • 5. Biostatistics, Harvard T.H. Chan School of Public Health, Harvard University, Boston, Massachusetts, the United States of America.
  • 6. Urban Systems Institute, The University of Hong Kong, Hong Kong, Hong Kong SAR, China.

Description

This release contains the R sample code for the research project entitled "Long-term impacts of heatwaves on accelerated ageing". This version has been archived on Zenodo to ensure the reproducibility of the analysis.

Computational Environment

The analysis was performed using the following environment:

  • R Version: R version 4.3.1 (2023-06-16 ucrt)
  • Platform: x86_64-w64-mingw32 (64-bit Windows)

Key R Packages Used

The following R packages are essential for running the code:

  • lme4 & lmerTest (for mixed-effects modeling)
  • dplyr & ggplot2 (for data manipulation and visualization)
  • ipw (for calculating inverse probability weights)
  • dlnm (for creating basis functions for non-linear models)
  • emmeans (for post-hoc interaction analysis)

Files

guocuicui815/HW_on_BAA-v1.0.0.zip

Files (27.4 kB)

Name Size Download all
md5:202f6e83baf74660623c660174b188a6
27.4 kB Preview Download

Additional details

Related works