找回密码
 注册
查看: 288|回复: 0

R语言 secr包 plot.secr()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 00:01:04 | 显示全部楼层 |阅读模式
plot.secr(secr)
plot.secr()所属R语言包:secr

                                         Plot Detection Functions
                                         图检测功能

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Plot detection functions using estimates of parameters in an secr object, or as provided by the user.
绘制检测功能中的秘书服务对象中使用的参数的估计,或由用户提供。


用法----------Usage----------


## S3 method for class 'secr'
plot(x, newdata = NULL, add = FALSE,
    sigmatick = FALSE, rgr = FALSE, limits = FALSE, alpha = 0.05,
    xval = 0:200, ylim = NULL, xlab = NULL, ylab = NULL, ...)

## S3 method for class 'secrlist'
plot(x, newdata = NULL, add = FALSE,
    sigmatick = FALSE, rgr = FALSE, limits = FALSE, alpha = 0.05,
    xval = 0:200, ylim = NULL, xlab = NULL, ylab = NULL, ...,
    overlay = TRUE)

detectfnplot (detectfn, pars, details = NULL, add = FALSE,
    sigmatick = FALSE, rgr = FALSE, xval = 0:200, ylim = NULL,
    xlab = NULL, ylab = NULL, ...)

attenuationplot (pars, add = FALSE, spherical = TRUE,
    xval = 0:200, ylim = NULL, xlab = NULL, ylab = NULL, ...)




参数----------Arguments----------

参数:x
an secr object  
secr对象


参数:newdata
dataframe of data to form estimates  
数据框的数据形式的估计


参数:add
logical to add curve(s) to an existing plot  
逻辑曲线(S)到现有的图


参数:sigmatick
logical; if TRUE the scale parameter sigma is shown by a vertical line  
逻辑,如果是TRUE尺度参数SIGMA显示一条垂直线


参数:rgr
logical; if TRUE a scaled curve r.g(r) is plotted instead of g(r)  
逻辑,如果TRUE,而不是函数g(r)的比例绘制曲线的RG(R)


参数:limits
logical; if TRUE pointwise confidence limits are drawn  
逻辑,如果真正的逐点置信限绘制


参数:alpha
alpha level for confidence intervals  
α水平置信区间


参数:xval
vector of distances at for which detection to be plotted  
在检测的距离向量要绘制


参数:ylim
vector length 2 giving limits of y axis  
矢量长度2给予限制的y轴


参数:xlab
label for x axis  
对于x轴的标签


参数:ylab
label for y axis  
对于y轴的标签


参数:...
arguments to pass to lines  
参数传递给lines


参数:overlay
logical; if TRUE then automatically add = TRUE for plots after the first  
逻辑;如果是TRUE,然后自动add = TRUE为图后的第一个


参数:detectfn
integer code or character string for shape of detection function 0 = halfnormal etc. – see detectfn  
的整数代码或字符串检测功能0 = halfnormal等形状 -  detectfn


参数:pars
list, vector or matrix of parameter values  
的参数值的列表,向量或矩阵


参数:details
list of ancillary parameters  
辅助参数列表


参数:spherical
logical for whether to include spherical spreading term  
符合逻辑的,是否包括球面扩散术语


Details

详细信息----------Details----------

newdata is usually NULL, in which case one curve is plotted for each session and group. Otherwise, predict.secr is used to form estimates and plot a curve for each row in newdata.
newdata通常是NULL,在这种情况下,绘制一条曲线,为每个会话和组。否则,predict.secr是用来,形成估计和曲线绘制中的每一行newdata。

If axis labels are not provided they default to "Distance (m)" and "Detection probability" or "Detection lambda".
如果没有轴标签,他们默认的距离(m)“和”发现概率“或”检测拉姆达。

detectfnplot is an alternative in which the user nominates the type of function and provides parameter values. pars maybe a list as from detectpar; it is first coerced to a numeric vector with unlist. Parameter values must be in the expected order (e.g. g0, sigma, z). If pars is a matrix then a separate curve is plotted with the parameter values in each row.
detectfnplot是一种替代,在其中用户提名的函数的类型,并提供参数值。 pars也许列表,从detectpar,它是第一个强制转换为一个数值向量与unlist。必须在预期的顺序(例如G0,Σ,z)的参数值。如果pars是一个矩阵,那么单独的曲线绘制在每行中的参数值。

For detectfnplot the signal threshold parameters "cutval" and "spherical" should be provided in details (see examples).
对于detectfnplot信号阈值参数的cutval和球应提供details(见例子)。

Approximate confidence limits for g(r) are calculated using a numerical first-order delta-method approximation to the standard error at each xval. The distribution is assumed to be normal on the logit scale; limits are back-transformed from that scale.
为g(r)的近似置信限用一个数字第一阶Δ-方法近似计算的标准误差在每一个xval。的分布被假定为正常logit的规模;限制反向变换从该规模。

attenuationplot plots the expected decline in signal strength with distance, given parameters beta0 and beta1 for a log-linear model of sound attenuation.
attenuationplot图信号强度与距离的预期下降,给定的参数beta0和beta1的对数线性模型的声衰减。


值----------Value----------

plot.secr invisibly returns a dataframe of the plotted values (or a list of dataframes in the case that newdata has more than one row).
plot.secr无形返回一个数据框的绘制的值(或一个列表中的情况下的dataframesnewdata具有多个行)。


参见----------See Also----------

detection functions, plot, secr
detection functions,plot,secr


实例----------Examples----------



plot (secrdemo.b, xval = 0:100, ylim = c(0, 0.4))
## Add recapture probability[#添加夺回概率]
plot (secrdemo.b, newdata = data.frame(b = 1), add = TRUE,
    col = "red")

## signal strength detection: 70dB at source, attenuation[信号强度检测源,衰减为70dB]
## 0.3dB/m, sdS 5dB; detection threshold 40 dB.[:#0.3分贝/平方米,SDS5分贝;检测阈值40分贝。]
detectfnplot (detectfn = 10, c(70, -0.3, 5), details =
    list(cutval = 40))

## add a function with louder source and spherical spreading...[#添加一个响亮的来源和球面扩散功能与...]
detectfnplot (detectfn = 11, c(110, -0.3, 5), details =
    list(cutval = 40), add = TRUE, col = "red")

## matching sound attenuation curves; `spherical-only' dashed line[#匹配的声衰减曲线,“只有球形虚线]
attenuationplot (c(70, -0.3), spherical = FALSE, ylim=c(-10,110))
attenuationplot (c(110, 0), spherical = TRUE, add=TRUE, lty=2)
attenuationplot (c(110, -0.3), spherical = TRUE, add = TRUE,
    col = "red")


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-30 10:35 , Processed in 0.026029 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表