Supplement 1. R source code for model simulations.
收藏DataCite Commons2020-09-04 更新2024-07-25 收录
下载链接:
https://wiley.figshare.com/articles/dataset/Supplement_1_R_source_code_for_model_simulations_/3514574
下载链接
链接失效反馈官方服务:
资源简介:
File List growthpop.txt Description This is a text file containing R-language source code for the model simulations. This code calculates the number of mated females in gypsy moth populations. The first section describes the mate location model fitted to experimental data. It gives the probability of a male to find a female at a given distance and given day after its emergence (rate0 for day of emergence, rate1 for the following day and rate2 for the next one). The second section provides the distribution of male and female emergence days. The third section contains the main function growthpop. Entry variables are: Negg the number of eggs initially introduced, fec the number of eggs per female, mortrate the mortality from egg to adult, diflarv the larval diffusion coefficient, and difadult the adult diffusion coefficient for males. Output variables are: Mat the number of mated females of the second generation, eggs the number of eggs laid by females of second generation, growth the 2-year population growth rate, and Fcomp a matrix containing the identification number of the female in column 1, the coordinates in column 2-3, the day of emergence in column 4, the mating success (0: not mated; 1: mated) in column 5, and the mating probability in column 6.
文件列表growthpop.txt 说明
本文件为文本格式,内含用于模型仿真的R语言源代码,用于计算舞毒蛾(gypsy moth)种群内已交配雌虫的数量。
代码第一章节为基于实验数据拟合的求偶定位模型,可给出雄虫在特定距离以及羽化后特定天数下找到雌虫的概率:rate0对应羽化当日,rate1对应次日,rate2对应第三日。
第二章节给出雄虫与雌虫的羽化天数分布情况。
第三章节包含核心函数growthpop。
该函数的输入变量如下:Negg为初始投放的卵粒数,fec为单头雌虫的产卵量,mortrate为卵期至成虫期的死亡率,diflarv为幼虫扩散系数,difadult为雄虫的成虫扩散系数。
其输出变量如下:Mat为第二代已交配雌虫的数量,eggs为第二代雌虫的总产卵量,growth为两年种群增长率,Fcomp为一个矩阵,其中第1列为雌虫标识编号,第2至3列为坐标信息,第4列为羽化日期,第5列为交配成功状态(0:未交配;1:已交配),第6列为交配概率。
提供机构:
Wiley
创建时间:
2016-08-04



