five

Supplement 1. Data and R code for analyzing extinction times of experimental Daphnia populations.

收藏
NIAID Data Ecosystem2026-03-09 收录
下载链接:
https://figshare.com/articles/dataset/Supplement_1_Data_and_R_code_for_analyzing_extinction_times_of_experimental_Daphnia_populations_/3526583
下载链接
链接失效反馈
官方服务:
资源简介:
File List data.csv - Table of raw data DaphExt.r - R code for performing analysis Description The file data.csv is a comma separated ASCII file containing extinction times for 281 populations of Daphnia magna under three levels of environmental variation. The first line is a header containing variable names. The variable treatment takes values "low", "medium", or "high" referring to the experimental treatment. The variables treatment2 and treatment3 are re-coded versions of treatment provided for convenience. The variable treatment2 assigns the level "A" to subjects in the "low" experimental treatment, assigns "B" to subjects in the "medium" experimental treatment, and assigns "C" to subjects in the "high" experimental treatment. The variable treatment3 pools subjects in the "low" and "medium" treatments, assigning them the level "A", while subjects in the "high" experimental treatment are assigned "C", as before. The variable id is a unique identifier for each population. The variable ext is a censoring variable, taking the value "1" if the population went extinct during the course of the experiment and "0" otherwise. The variable dur reports the duration of population observation, the time-to-extinction in the case of populations going extinct and the duration of the experiment otherwise. The file DaphExt.r contains R code for performing the Cox proportional hazards regression, estimating the survival distribution using the Kaplan-Meier estimator, and reproducing figures from the text. In addition to the basic R environment, this code depends on functions in the package survival which can be obtained along with the basic R environment from the Comprehensive R Archive Network (CRAN) found at www.r-project.org.
创建时间:
2016-08-05
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

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

二维码
科研交流群

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

数据驱动未来

携手共赢发展

商业合作