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

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

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

                                        Summary plots of SimpleTable objects.
                                         摘要图SimpleTable对象。

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

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

plot.SimpleTable summarizes a SimpleTable object by plotting the psterior density of the prima facie and
plot.SimpleTable总结了SimpleTable对象的表面证据绘制的psterior的密度,并


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


## S3 method for class 'SimpleTable'
plot(x, estimand = c("ATE", "ATT", "ATC", "RR", "RRT", "RRC",
                                 "logRR", "logRRT", "logRRC"),
                 percent = 95, plot.bounds = TRUE, plot.pf = TRUE,
                 plot.sens = TRUE, plot.prior = FALSE,
                 color.bounds = "cyan",
                 color1.pf = "lawngreen", color2.pf = "green",
                 color1.sens = "magenta3", color2.sens = "purple4",
                 color.prior = "lightgray", ymax = NULL, ...)



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

参数:x
An object of class SimpleTable produced by analyze2x2 or analyze2x2xK that is to be graphically summarized.  
一个对象的类SimpleTable的生产analyze2x2或analyze2x2xK这是图形化的总结。


参数:estimand
The causal estimand of interest. Options include:  ATE (average treatment effect), ATT (average treatment effect on the treated), ATC (average treatment effect on the controls), RR (relative risk), RRT (relative risk on the treated), RRC (relative risk on the controls), logRR (log relative risk), logRRT (log relative risk on the treated), and logRRC (log relative risk on the controls).  
感兴趣的的因果关系estimand的。选项包括:ATE(平均治疗效果),ATT(平均治疗效果处理过的),ATC(对照组)的平均治疗效果,RR(相对危险度),RRT(相对危险度的处理),RRC(相对危险度的控制),logRR(log相对危险度),logRRT(log相对风险处理),和logRRC(log相对风险的控制)。


参数:percent
A number between 0 and 100 (exclusive) giving the size of the highest posterior density regions to be calculated and plotted. Default value is 95.  
0和100之间的数字(不包括)的大小后验密度最高的区域,可以计算并绘制。默认值为95。


参数:plot.bounds
Logical value indicating whether the large-sample nonparametric bounds should be plotted. Default value is TRUE.  
逻辑值,该值指示是否应绘制的大样本的非参数边界。默认值为TRUE。


参数:plot.pf
Logical value indicating whether the posterior density of the prima facie causal effect should be plotted. Default value is TRUE.  
逻辑值,该值指示是否应绘制后验概率密度的表面证据因果关系。默认值为TRUE。


参数:plot.sens
Logical value indicating whether the posterior density of the sensitivity analysis causal effect should be plotted. Default value is TRUE.  
逻辑值,该值指示是否应绘制后验概率密度的敏感性分析因果关系。默认值为TRUE。


参数:plot.prior
Logical value indicating whether the prior density of the causal effect of interest should be plotted. Default value is FALSE.  
逻辑值,该值指示是否应绘制的先验密度的因果关系的兴趣。默认值为FALSE。


参数:color.bounds
The color of the line segment depicting the large-sample nonparametric bounds. Default value is cyan.  
线段的颜色描绘大样本的非参数边界。默认值为cyan。


参数:color1.pf
The color of the prima facie posterior density in regions outside the percent% highest posterior density region. Default value is lawngreen.
的颜色percent%最高后验概率密度区域的初步证据后密度以外区域。默认值为lawngreen。


参数:color2.pf
The color of the prima facie posterior density in regions inside the percent% highest posterior density region. Default value is green.
颜色的初步证据后密度在percent%最高后验概率密度区域内的区域。默认值为green。


参数:color1.sens
The color of the sensitivity analysis posterior density in regions outside the percent% highest posterior density region. Default value is magenta3.  
的颜色percent%最高后验概率密度区域以外区域的敏感性分析后密度。默认值为magenta3。


参数:color2.sens
The color of the sensitivity analysis posterior density in regions inside the percent% highest posterior density region. Default value is purple4.  
颜色的敏感性分析后密度在percent%最高后验概率密度区域内的区域。默认值为purple4。


参数:color.prior
The color of the prior density of the causal effect of interest. Default value is lightgray.  
的颜色事先密度的因果关系的兴趣。默认值为lightgray。


参数:ymax
The maximum height of the y-axis. If NULL (the default) then ymax is taken to be the maximum ordinate of the prima facie posterior density, the sensitivity analysis posterior density, and the prior density.  
y-轴的最大高度。如果NULL(默认值),然后ymax的初步证据后密度,后验概率密度的敏感性分析,与之前的密度是最大的纵坐标。


参数:...
Other arguments to be passed.  
其他参数传递。


Details

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

See Quinn (2008) for the a description of these plots along
奎因(2008)的描述,这些图沿


(作者)----------Author(s)----------


Kevin M. Quinn



参考文献----------References----------

Table: Bayesian Inference and Sensitivity Analysis for Causal Effects from 2 x 2 and 2 x 2 x K Tables in the Presence of Unmeasured

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

ConfoundingPlot, analyze2x2, analyze2x2xK, ElicitPsi, summary.SimpleTable
ConfoundingPlot,analyze2x2,analyze2x2xK,ElicitPsi,summary.SimpleTable


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


## Not run: [#不运行:]
## Example from Quinn (2008)[#示例从奎因(2008)]
## (original data from Oliver and Wolfinger. 1999. [#(奥利弗和Wolfinger 1999年的原始数据。]
##   ``Jury Aversion and Voter Registration.'' [“陪审团的厌恶和选民登记。]
##     American Political Science Review. 93: 147-152.)[#美国政治科学评论。 93:147-152)。]
##[#]
##        Y=0       Y=1[#Y = 0,Y = 1]
## X=0    19        143[#X = 0 19 143]
## X=1    114       473[#X = 1 114 473]
##[#]

## a prior belief in an essentially negative monotonic treatment effect [#先前的信念,基本上是负面的单调的治疗效果]
S.mono <- analyze2x2(C00=19, C01=143, C10=114, C11=473,
                     a00=.25, a01=.25, a10=.25, a11=.25,
                     b00=0.02, c00=10, b01=25, c01=3,
                     b10=3, c10=25, b11=10, c11=0.02)

## ATE (the default)[#(默认)]
plot(S.mono)

## ATC instead of ATE[#ATC而不是ATE]
plot(S.mono, estimand="ATC")

## different colors[#不同的颜色]
plot(S.mono, estimand="ATC", color1.pf="red", color2.pf="blue",
     color1.sens="gray", color2.sens="orange")
   

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 01:48 , Processed in 0.036070 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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