traps(secr)
traps()所属R语言包:secr
Detector Array
探测器阵列
译者:生物统计家园网 机器人LoveR
描述----------Description----------
An object of class traps encapsulates a set of detector (trap) locations and related data. A method of the same name extracts or replaces the traps attribute of a capthist object.
一个对象的类traps的封装了一组检测器(陷阱)的位置和相关的数据。的方法具有相同名称的提取物或替换traps属性capthist对象的。
用法----------Usage----------
traps(object, ...)
traps(object) <- value
参数----------Arguments----------
参数:object
a capthist object.
一个capthist对象。
参数:value
traps object to replace previous.
traps对象来替换以前的。
参数:...
other arguments (not used).
其他参数(未使用)。
Details
详细信息----------Details----------
An object of class traps holds detector (trap) locations as a data frame of x-y coordinates. Trap identifiers are used as row names. The required attribute "detector" records the type of detector ("single", "multi" or "proximity" etc.; see detector for more).
一个对象的类traps的持有探测器(陷阱)作为一个数据框的xy坐标位置。陷阱标识符用作行名。必需的属性探测器记录探测器的类型(“单一”,“多”或“接近”等;看到detector更多的)。
Other possible attributes of a traps object are average spacing, trap-specific covariates (covariates), and a matrix of binary (0/1) codes indicating whether each detector was used on each occasion (usage). If usage is specified, at least one detector must be "used" on each occasion.
traps对象的其他可能的属性是平均spacing,陷阱特定的协变量(covariates),以及指示是否每个探测器在每个使用的二进制(0/1)的矩阵的码际(usage)。如果指定了的使用,至少一个检测器必须被使用每次。
Various array geometries may be constructed with functions such as make.grid and make.circle, and these may be combined or placed randomly with trap.builder.
各种阵列的几何形状可以被构造与如make.grid和make.circle功能,并且这些可以组合或随机放置trap.builder。
注意----------Note----------
Generic methods are provided to select rows (subset.traps), combine two or more arrays (rbind.traps), shift an array (shift.traps), and to rotate an array (rotate.traps). The attributes usage and covariates may be extracted or replaced using generic methods of the same name.
泛型方法选择行(subset.traps),将两个或两个以上阵列(rbind.traps),一个阵列转移(shift.traps),旋转阵列(rotate.traps的 )。的属性usage和covariates可提取或更换的,使用相同的名称的通用方法。
参考文献----------References----------
capture–recapture. Department of Zoology, University of Otago, Dunedin, New Zealand. http://www.otago.ac.nz/density
by spatially explicit capture-recapture: likelihood-based methods. In: D. L. Thomson, E. G. Cooch and M. J. Conroy (eds) Modeling Demographic Processes in Marked Populations. Springer, New York. Pp. 255–269.
参见----------See Also----------
make.grid, read.traps, plot.traps, secr.fit, spacing, detector,
make.grid,read.traps,plot.traps,secr.fit,spacing,detector,
实例----------Examples----------
demotraps <- make.grid(nx = 8, ny = 6, spacing = 30)
demotraps ## uses print method for traps[#使用print方法陷阱]
summary (demotraps)
plot (demotraps, border = 50, label = TRUE, offset = 8,
gridlines=FALSE)
## generate an arbitrary covariate `randcov'[#生成任意协randcov]
covariates (demotraps) <- data.frame(randcov = rnorm(48))
## overplot detectors that have high covariate values[有高协变量值的#overplot探测器]
temptr <- subset(demotraps, covariates(demotraps)$randcov > 0.5)
plot (temptr, add = TRUE,
detpar = list (pch = 16, col = "green", cex = 2))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|