display.untb(untb)
display.untb()所属R语言包:untb
Animation of neutral ecological drift
动画中性生态漂流
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Displays an ongoing simulation of neutral ecological drift using nice colours and a simple animation technique
用漂亮的颜色和简单的动画技术,显示正在进行的模拟中性的生态漂流
用法----------Usage----------
display.untb(start, gens=100, prob.of.mutate = 0, cex=3, individually
= TRUE, ask = FALSE, flash = FALSE, delay = 0, cols=NULL, ...)
参数----------Arguments----------
参数:start
Starting ecosystem; coerced to class census. Usually, pass an object of class count; see examples. To start with a monoculture of size 10, use start=rep(1,10) and to start with a system of maximal diversity (ie all singletons), use start=1:10
启动生态系统;强制转换为类人口普查。通常情况下,通过对象的类别数;看到的例子。要启动与单养大小为10,使用start=rep(1,10),并开始系统的最大多样性(即所有的singleton),使用start=1:10
参数:gens
Number of generations to simulate
数代模拟
参数:prob.of.mutate
Probability of mutation. The default of zero corresponds to theta=0 and this means that any ecosystem will eventually become a monoculture (it is particularly instructive to watch this happen, especially with a starting ecosystem of maximal diversity: but be warned, this can take a long time, especially for ecosystems with a large number of individuals). Nonzero values mean that a nontrivial dominance-diversity curve will eventuate, although this too can take a long time to happen. Try a nonzero value of prob.of.mutate with monoculture start (use individually=FALSE for such experiments)
突变的概率。零对应的默认theta=0,这意味着任何生态系统最终将成为一个单一文化(这是特别有启发性看这种情况,尤其是在一个生态系统中最大的多样性: 但被警告,这可能需要很长的时间,特别是对大量个人)的生态系统。非零值的意思是,一个平凡的优势多样性曲线会落空,虽然这也需要很长的时间才发生。与单作启动(使用prob.of.mutate这样的实验,尝试一个非零值individually=FALSE)
参数:cex
The size of the dots used for plotting, defaulting to 3
用于绘制的点的大小,缺省值为3
参数:individually
Boolean, with default TRUE meaning that a timestep means the death of a single individual and the simultaneous birth of a new individual; and FALSE meaning that a timestep refers to every individual in the system
布尔,默认TRUE,这意味着一个时间步长是指一个单一的个体,同时诞生了一个新的个体的死亡和FALSE的意思,时间步长是指系统中的每一个人
参数:ask
Boolean, with default FALSE meaning to display the generations autonomously, and TRUE meaning to wait for the user to hit the “return” before proceeding
布尔默认情况下,与FALSE意思显示的后代,自主,TRUE的这意味着等待用户,然后再继续打的“回报”
参数:flash
Boolean, with TRUE meaning to indicate the site of a death/birth with a flashing ring; and default FALSE meaning to omit the flashing ring. Use TRUE for pedagogic purposes, possibly with ask set to TRUE, or a nonzero delay. This option only kicks in if individually is TRUE
布尔值,TRUE意思表示站点的一个死亡/出生闪烁的环的默认FALSE的这意味着省略闪烁的环。使用TRUE教学的目的,,可能与ask设置为TRUE,或非零delay。此选项仅踢如果individually是TRUE的
参数:delay
Time delay between generations in seconds; meaningful whatever the value of flash and individually
有意义的任何值的flash和individually之间的时间延迟以秒为单位的世代;
参数:cols
A vector of colours with default NULL meaning to choose them randomly. Useful for printing stills from a movie
默认NULL的这意味着选择随机颜色的矢量。可用于打印的电影剧照
参数:...
Further arguments passed to plot() and points()
更多参数传递给plot()和points()
(作者)----------Author(s)----------
Robin K. S. Hankin
参考文献----------References----------
Princeton University Press.
实例----------Examples----------
data(butterflies)
display.untb(start=butterflies,prob=0, gens=1e2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|