Published January 5, 2026 | Version v1
Software Open

Reproducibility Package for: Associations between lifetime fitness and social bonds in female red deer

Authors/Creators

Contributors

  • 1. Department of Human Behavior, Ecology and Culture, Max-Planck-Institut fur Evolutionare Anthropologie, Leipzig, Sachsen, Germany

Description

Description:
This repository contains the complete set of code and data necessary to reproduce the analyses and figures for the publication "Associations between lifetime fitness and social bonds in female red deer" by Sebastian Sosa (Cervus elaphus).

Contents:
This archive includes the analysis script, the raw datasets, and the auxiliary R objects required to run the code.

1.  Code:
    *   `red_deer_analysis.qmd`: The Quarto source file containing all R code for data loading, analysis, and figure/table generation.

2.  Data Files (CSVs):
    *   `life_time_data.csv`
    *   `scaled_life_time_data.csv`
    *   `scaled_annual.csv`
    *   `scaled_calves_survival.csv`

3.  Auxiliary Objects:
    *   `MRQAP_data.RData`: R data object containing social networks corrected by SRI, including adjacency matrices and attribute data.

Instructions for Reproducibility:
1.  Download all files to a single local directory.
2.  Open `red_deer_analysis.qmd` in RStudio.
3.  Render the file to generate the complete analysis output.

Requirements:
*   R (version 4.2.0 or later)
*   Quarto
*   R Packages: `ANTs`, `lme4`, `lmerTest`, `sjPlot`, `ggplot2`, `MASS`, `asnipe`, `survival`, `survminer`, `rptR`, `PerformanceAnalytics`, `gtsummary`, `coxme`.

Files

life_time_data.csv

Files (18.8 MB)

Name Size Download all
md5:29559fe86db06bfe8a9f3edb1b9e596d
81.4 kB Preview Download
md5:cdf96a57e2ea8945bc7cfafb42166086
17.2 MB Download
md5:b6a0ce04cb4a891508ab5ebae40b79dd
9.2 kB Download
md5:864dbaa0306d7cca4488b371cd094443
1.1 MB Preview Download
md5:c4168aeaf282dfcff294eb8228758b0f
362.4 kB Preview Download
md5:3cfd65c19f274bdab6dd704939e700ce
107.4 kB Preview Download