five

Supplement 1. R code used to format the data and compute the SSAS.

收藏
Figshare2016-08-05 更新2026-04-29 收录
下载链接:
https://figshare.com/articles/dataset/Supplement_1_R_code_used_to_format_the_data_and_compute_the_SSAS_/3528698
下载链接
链接失效反馈
官方服务:
资源简介:
File List SSAS.R Description The SSAS.R file is a plain text ascii file. The file contains the basic command lines to download the data (group composition of isard, roe deer, and red deer) and to perform a test for sexual segregation and aggregation on count based data. The code allows users to repeat the analyses and to draw the plots we present in the paper. The code is intended to be used with R statistical software. Function definitions: SSAS = Compute the Sexual Segregation and Aggregation Statistic (SSAS) of the observed data and the values of SSAS expected under the hypothesis of random association of males and females (default is set at the 95% critical level). splitmfd = format raw data, a matrix with 3 columns (number of males, females and a grouping variable, i.e. month in this case), into a list. plot1 = plot the month-specific value of SSAS (observed value) and the range of SSAS values where a random association of males and females occurs. The plot is a simple graphical representation of the formal tests returned by the SSAS function.
创建时间:
2016-08-05
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作