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

R语言 vcd包 cotab_panel()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 14:46:54 | 显示全部楼层 |阅读模式
cotab_panel(vcd)
cotab_panel()所属R语言包:vcd

                                        Panel-generating Functions for Contingency Table Coplots
                                         面板生成函数列联表Coplots

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

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

Panel-generating functions visualizing contingency tables that can be passed to cotabplot.
面板的功能,可以传递给cotabplot的可视化应急表。


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


cotab_mosaic(x = NULL, condvars = NULL, ...)
cotab_assoc(x = NULL, condvars = NULL, ylim = NULL, ...)
cotab_sieve(x = NULL, condvars = NULL, ...)
cotab_fourfold(x = NULL, condvars = NULL, ...)
cotab_coindep(x, condvars,
  test = c("doublemax", "maxchisq", "sumchisq"),
  level = NULL, n = 1000, interpolate = c(2, 4),
  h = NULL, c = NULL, l = NULL, lty = 1,
  type = c("mosaic", "assoc"), legend = FALSE, ylim = NULL, ...)



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

参数:x
a contingency tables in array form.
一个数组形式的列联表。


参数:condvars
margin name(s) of the conditioning variables.
调理变量的的保证金名称()。


参数:ylim
y-axis limits for assoc plot. By default this is computed from x.
y轴限制assoc图。默认情况下,这是计算从x。


参数:test
character indicating which type of statistic should be used for assessing conditional independence.
字符指示应该使用哪种类型的统计评估条件独立。


参数:level,n,h,c,l,lty,interpolate
variables controlling the HCL shading of the residuals, see shadings for more details.
变量残差控制的HCL着色,shadings更多的细节。


参数:type
character indicating which type of plot should be produced.
字符,指示应哪种类型的图。


参数:legend
logical. Should a legend be produced in each panel?
逻辑。如果一个传奇,在每个面板生产?


参数:...
further arguments passed to the plotting function (such as mosaic or assoc or sieve respectively).
进一步的参数传递给绘图功能(如mosaic或assoc或sieve分别)。


Details

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

These functions of class "panel_generator" are panel-generating functions for use with cotabplot, i.e., they return functions with the interface
这些功能的类"panel_generator"面板与cotabplot,即使用的功能,返回功能与接口

panel(x, condlevels)
panel(x, condlevels)

required for cotabplot. The functions produced by cotab_mosaic, cotab_assoc and cotab_sieve essentially only call co_table to produce the conditioned table and then call mosaic, assoc or sieve respectively with the arguments specified.
所需的cotabplot。功能cotab_mosaic,cotab_assoc和cotab_sieve基本上只调用“co_table生产条件表,然后调用mosaic,assoc或 sieve分别指定的参数。

The function cotab_coindep is similar but additionally chooses an appropriate residual-based shading visualizing the associated conditional independence model. The conditional independence test is carried out via coindep_test and the shading is set up via shading_hcl.
函数cotab_coindep是类似的,但另外选择一个合适的剩余为基础的阴影,相关的条件独立模型可视化。通过coindep_test和阴影设置通过shading_hcl的条件独立进行试验。

A description of the underlying ideas is given in Zeileis, Meyer, Hornik (2005).
描述的基本思想是在Zeileis,迈耶,霍尔尼克(2005年)。


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



Achim Zeileis <a href="mailto:Achim.Zeileis@R-project.org">Achim.Zeileis@R-project.org</a>




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

The strucplot framework: Visualizing multi-way contingency tables with <code>vcd</code>. Journal of Statistical Software, 17(3), 1-48. URL http://www.jstatsoft.org/v17/i03/ and available as  <code>vignette("strucplot")</code>.
(conditional) independence, Journal of Computational and Graphical Statistics, 16, 507&ndash;525.

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

cotabplot, mosaic, assoc, sieve, co_table, coindep_test, shading_hcl
cotabplot,mosaic,assoc,sieve,co_table,coindep_test,shading_hcl


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


data("UCBAdmissions")

cotabplot(~ Admit + Gender | Dept, data = UCBAdmissions)
cotabplot(~ Admit + Gender | Dept, data = UCBAdmissions, panel = cotab_assoc)
cotabplot(~ Admit + Gender | Dept, data = UCBAdmissions, panel = cotab_fourfold)

ucb <- cotab_coindep(UCBAdmissions, condvars = "Dept", type = "assoc", n = 5000, margins = c(3, 1, 1, 3))
cotabplot(~ Admit + Gender | Dept, data = UCBAdmissions, panel = ucb)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-27 10:41 , Processed in 0.019707 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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