Skip to main content
Dryad

Data and code from: Environmental and protection effects of shark-companion associations across three ocean basins

Data files

Jun 10, 2026 version files 445.49 KB

Click names to download individual files

Abstract

This repository contains the datasets and R code used in the manuscript "Environmental and Protection Effects of Shark-Companion Associations Across Three Ocean Basins". The repository includes both processed and raw observational datasets, environmental predictor variables, species-level metadata, and the primary statistical analysis scripts used in the study. The main analytical dataset is provided in the file “No_Outliers.xlsx”, which contains the curated data used for final modelling analyses, while “manuscript_main_analysis_datafiles.xlsx” contains the complete compiled dataset, including both used and excluded observations. The datasets include records of companion abundance associated with shark hosts, alongside biological and environmental variables such as host species identity, sea surface temperature, salinity, depth, dissolved oxygen, primary productivity, wind conditions, and spatial metrics including distance from shore and distance to port. Variables related to marine protection status and vulnerability categories are also included. Data values consist primarily of integer abundance counts, categorical species and protection classifications, and continuous environmental measurements. The accompanying R scripts reproduce the full analytical workflow, including hurdle negative binomial modelling, model selection using AICc and BIC approaches, cross-validation, calibration analyses, receiver operating characteristic (ROC) analyses, and generation of figures and partial effect plots. Outputs are reproducible using R (version 4.3 or later) and the packages specified within the scripts. Data were derived from non-invasive marine ecological observations and do not contain personally identifiable or sensitive information. Users should cite the associated manuscript when reusing the data or analytical code.