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

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

[复制链接]
发表于 2012-9-30 02:31:21 | 显示全部楼层 |阅读模式
contrMat(simboot)
contrMat()所属R语言包:simboot

                                         Contrast Matrices
                                         对比矩阵

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

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

Computes contrast matrices for several multiple comparison procedures.
计算对比矩阵的几个多重比较程序。


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


contrMat(n, type = c("Dunnett", "Tukey", "Sequen", "AVE",
                     "Changepoint", "Williams", "Marcus",
                     "McDermott", "UmbrellaWilliams", "GrandMean"),
         base = 1)



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

参数:n
a (possibly named) vector of sample sizes for each group.
(可能命名)的向量各组的样本大小。


参数:type
type of contrast.  
类型的对比度。


参数:base
an integer specifying which group is considered the baseline group for Dunnett contrasts.
一个整数,指定该组被认为是邓尼特对比的基准组。


Details

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

Computes the requested matrix of contrasts for comparisons of mean levels.
计算所要求的对比矩阵的平均水平进行比较。


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

The matrix of contrasts with appropriate row names is returned.
矩阵的对比与相应的行名,被返回。


注意----------Note----------

Function contrMat is adapted from package multcomp
函数contrMat是适合从软件包multcomp


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

availability of multiple comparison procedures. Biometrical Journal, 43(5), 645–656.

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


n <- c(10,20,30,40)
names(n) <- paste("group", 1:4, sep="")
contrMat(n)        # Dunnett is default[邓尼特是默认]
contrMat(n, base = 2)        # use second level as baseline[使用第二个层次为基准]
contrMat(n, type = "Tukey")
contrMat(n, type = "Sequen")
contrMat(n, type = "AVE")
contrMat(n, type = "Changepoint")
contrMat(n, type = "Williams")
contrMat(n, type = "Marcus")
contrMat(n, type = "McDermott")
### Umbrella-protected Williams contrasts, i.e. a sequence of [##伞保护的威廉姆斯对比,即序列]
### Williams-type contrasts with groups of higher order [##威廉姆斯类型的对比与高阶组]
### stepwise omitted[##逐步省略]
contrMat(n, type = "UmbrellaWilliams")
### comparison of each group with grand mean of all groups[##比较各组与盛大的意思是所有群体]
contrMat(n, type = "GrandMean")


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-23 16:05 , Processed in 0.020002 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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