isolate(untb)
isolate()所属R语言包:untb
Randomly select a subset of an ecosystem
随机选择一个子集的生态系统
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Return an ecosystem comprised of individuals randomly sampled from a metacommunity
返回一个的个人组成的生态系统,随机抽取一个集合群落
用法----------Usage----------
isolate(a, size = no.of.ind(a), replace = TRUE)
参数----------Arguments----------
参数:a
Ecosystem data
生态系统的数据
参数:size
Number of individuals to sample
数个人品尝
参数:replace
Boolean, with default TRUE meaning to sample individuals from the metacommunity with replacement and FALSE meaning to sample without replacement. See details section
布尔值,默认TRUE的这意味着采样个人从集合群落更换和FALSE的这意味着样品无需更换。查看详细资料“部分中
Details
详细信息----------Details----------
Setting argument replace to default TRUE is much faster.
设置参数replace默认TRUE是更快的。
The canonical example is given by Leigh et al 1993, in which islands were isolated from the mainland by rising waters. The trees on the islands were held to be a randomly drawn sample from the metacommunity.
典型的例子是由Leigh等人1993年,哪些岛屿与大陆分离涨水。在这些岛屿上的树木被认为是一个随机抽取的样品从集合群落。
Given that the usual usage of this function is to generate a plausible ecosystem under such a scenario, one would have a hard time justifying the use of replace=TRUE as it allows (for example) a singleton metacommunity species to have multiple representatives in the returned ecosystem.
由于通常使用此功能是产生一个合理的生态系统,在这样的情况下,也很难证明使用replace=TRUE,因为它允许(例如)一个单独的集合群落的物种有多个代表,返回的生态系统。
However, for large metacommunities and small subsamples, the distinction between replace=TRUE and replace=FALSE is small.
然而,对于大型集合群落和小的子样本之间的区别replace=TRUE和replace=FALSE是小。
值----------Value----------
Returns a count object
返回count对象
注意----------Note----------
If replace=FALSE, the returned count object includes extinct species. Use extant(isolate(...)) to return only extant species
如果replace=FALSE,返回的计数对象包括已灭绝的物种。使用extant(isolate(...))返回唯一现存的物种
(作者)----------Author(s)----------
Robin K. S. Hankin
参考文献----------References----------
diversity on newly isolated tropical islands: a test of a null
实例----------Examples----------
a <- rand.neutral(1000,10)
no.of.spp(a)
no.of.spp(isolate(a))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|