Morphometric and reproductive data of Muscovy ducks (Cairina moschata) from Benin's three agroecological zones, with climate records and analysis code
Résumé fourni par la source
R code for: Environmental gradients and phenotypic variation in Muscovy ducks (Cairina moschata) in Benin This repository contains all R scripts required to reproduce the analyses, tables, and figures reported in the manuscript. Contents: 00_setup.R : shared setup (packages, paths, helper functions) 01_climate_THI_and_trends.R : THI, thermal exposure, warming trends 02_reproductive_performance.R : egg production, hatchability, Figure 5 03_morphometrics_PCA_LDA.R : PCA, LDA, cross-validation, permutation test 04_table1_socio_demographic.R : Table 1, training audit, Dunn post-hoc RUN_ALL.R : runs everything in order Requirements: R 4.3.3 or later with packages readxl, MASS, ggplot2, patchwork (patchwork optional) License: MIT