five

Data and R code for "Dolphin social phenotypes vary in response to food availability but not the North Atlantic Oscillation index"

收藏
Figshare2024-10-11 更新2026-04-08 收录
下载链接:
https://figshare.com/articles/dataset/Data_and_R_code_for_Dolphin_social_phenotypes_vary_in_response_to_food_availability_but_not_the_North_Atlantic_Oscillation_index_/23256845/1
下载链接
链接失效反馈
官方服务:
资源简介:
Two text files containing data and one .R file with R code. These files are sufficient to recreate the analysis found in the manuscript "Dolphin social phenotypes vary in response to food availability but not atmospheric conditions", published in Proceedings of the Royal Society B: Biological Sciences.<br>In brief, the data are based on regular observations of bottlenose dolphins (<i>Tursiops truncatus</i>) off the north east coast of Scotland between 1990 and 2021 inclusive. Regular observations of dolphins co-occurring in groups allowed us to infer social associations and to build social networks. We built social networks for each month and each year there were sufficient observations. From each network we calculated three social network measures (strength, weighted clustering coefficient, and closeness) and we then analyses how these traits vary at both the yearly and monthly scale in response to variation in the North Atlantic Oscillation index and to salmon abundance (data obtained from other sources).<br>"Dol Soc by Env Yearly data PPB.txt" is the data frame for the yearly scale analysis, with network metrics per individual per year and environmental variables per year. Columns are:<br>dol_name - the unique ID of the dolphinyear - the year of observationsex - sex of the dolphin, 1 = male, 2 = femaleyear_nao - the north atlantic oscillation index record for that yearyear_fish - the yearly salmon abudance measureindiv_str - the individual's strength in that yearindiv_cc - the individual's weighted lcustering coefficient in that yearindiv_close - the individual's closeness in that year<br>" Dol Soc by Env Monthly data PPB.txt" is the data frame for the monthly scale analysis, with network metrics per individual per month and environmental variables per month. Columns are:<br>dol_name - the unique ID of the dolphinyear - the year of observationmonth - the month of observation, coded numerically i.e., April = 4sex - sex of the dolphin, 1 = male, 2 = femalemonth_year_nao - the north atlantic oscillation index record for that monthmonth_year_fish - the monthly salmon abudance measureindiv_str - the individual's strength in that monthindiv_cc - the individual's weighted lcustering coefficient in that monthindiv_close - the individual's closeness in that month<br>"Fisher &amp; Cheney code Dol Soc by Env PPB.R" is the R code file to recreate the analyses found in the manuscript (a series of mixed-effect models). Note requires loading the packages "glmmTMB" and "car" so they must be installed first. Additionally, you will need to save the following R script: https://github.com/hschielzeth/RandomSlopeR2/blob/master/condR.R and refer to it with the source() command to enable the calculation of conditional repeatabilities.
提供机构:
Fisher, David; Cheney, Barbara
创建时间:
2023-09-19
二维码
社区交流群
二维码
科研交流群
商业服务