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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|