model.tables(stats)
model.tables()所属R语言包:stats
Compute Tables of Results from an Aov Model Fit
从AOV模型拟合计算结果表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes summary tables for model fits, especially complex aov fits.
计算模型配合,尤其是复杂的aov一刀切的汇总表。
用法----------Usage----------
model.tables(x, ...)
## S3 method for class 'aov'
model.tables(x, type = "effects", se = FALSE, cterms, ...)
## S3 method for class 'aovlist'
model.tables(x, type = "effects", se = FALSE, ...)
参数----------Arguments----------
参数:x
a model object, usually produced by aov
一个模型对象,通常产生aov
参数:type
type of table: currently only "effects" and "means" are implemented.
键入表:目前仅"effects"和"means"实施。
参数:se
should standard errors be computed?
应计算标准误差?
参数:cterms
A character vector giving the names of the terms for which tables should be computed. The default is all tables.
字符向量的条款应计算为表的名称。默认是所有表。
参数:...
further arguments passed to or from other methods.
通过进一步的论据或其他方法。
Details
详情----------Details----------
For type = "effects" give tables of the coefficients for each term, optionally with standard errors.
type = "effects"每学期系数表,可以选择标准误差。
For type = "means" give tables of the mean response for each combinations of levels of the factors in a term.
type = "means"给表的水平在长期的因素每个组合的平均响应。
The "aov" method cannot be applied to components of a "aovlist" fit.
"aov"方法不能适用于"aovlist"合适的组件。
值----------Value----------
An object of class "tables.aov", as list which may contain components
类"tables.aov"的对象,为“列表中可能含有的组件
参数:tables
A list of tables for each requested term.
一个表的每个请求项列表。
参数:n
The replication information for each term.
每学期的复制信息。
参数:se
Standard error information.
标准的错误信息。
警告----------Warning----------
The implementation is incomplete, and only the simpler cases have been tested thoroughly.
实施是不完整的,只有简单的情况已彻底测试。
Weighted aov fits are not supported.
加权aov配合不支持。
参见----------See Also----------
aov, proj, replications, TukeyHSD, se.contrast
aov,proj,replications,TukeyHSD,se.contrast
举例----------Examples----------
## From Venables and Ripley (2002) p.165.[#从维纳布尔斯和Ripley(2002)第165页。]
utils::data(npk, package="MASS")
options(contrasts=c("contr.helmert", "contr.treatment"))
npk.aov <- aov(yield ~ block + N*P*K, npk)
model.tables(npk.aov, "means", se = TRUE)
## as a test, not particularly sensible statistically[#作为一个测试,并不是特别明智的统计]
npk.aovE <- aov(yield ~ N*P*K + Error(block), npk)
model.tables(npk.aovE, se=TRUE)
model.tables(npk.aovE, "means")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|