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

R语言:summary.aov()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-17 09:45:05 | 显示全部楼层 |阅读模式
summary.aov(stats)
summary.aov()所属R语言包:stats

                                        Summarize an Analysis of Variance Model
                                         总结方差分析模型

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

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

Summarize an analysis of variance model.
总结方差模型分析。


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


## S3 method for class 'aov'
summary(object, intercept = FALSE, split,
        expand.split = TRUE, keep.zero.df = TRUE, ...)

## S3 method for class 'aovlist'
summary(object, ...)



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

参数:object
An object of class "aov" or "aovlist".
一个对象类"aov"或"aovlist"。


参数:intercept
logical: should intercept terms be included?
逻辑:应该包括拦截条件?


参数:split
an optional named list, with names corresponding to terms in the model.  Each component is itself a list with integer components giving contrasts whose contributions are to be summed.
一个可选的命名名单,与相应的模型的名称。每个组件本身就是一个对比的贡献概括整数组件的列表。


参数:expand.split
logical: should the split apply also to interactions involving the factor?
逻辑:分割应该也适用于涉及的因素的相互作用?


参数:keep.zero.df
logical: should terms with no degrees of freedom be included?
逻辑:没有自由度方面应列入?


参数:...
Arguments to be passed to or from other methods, for summary.aovlist including those for summary.aov.
参数被传递到或从其他方法,为summary.aovlist包括summary.aov的那些。


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

An object of class c("summary.aov", "listof") or "summary.aovlist" respectively.
一个对象类c("summary.aov", "listof")或"summary.aovlist"分别。

For fits with a single stratum the result will be a list of ANOVA tables, one for each response (even if there is only one response): the tables are of class "anova" inheriting from class "data.frame".  They have columns "Df", "Sum Sq", "Mean Sq", as well as "F value" and "r(>F)" if there are non-zero residual degrees of freedom.  There is a row for each term in the model, plus one for "Residuals" if there are any.
为单一阶层的配合,其结果将是一个ANOVA表的列表,每个响应(即使是只有一个响应):表类"anova"类"data.frame"继承。他们有列"Df","Sum Sq","Mean Sq",以及"F value"和"r(>F)"如果有非零残余度的自由。是模型中的行,每学期,加上"Residuals"如果有任何一个。

For multistratum fits the return value is a list of such summaries, one for each stratum.
适合用于多段,返回值是这样总结的名单,为各阶层之一。


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

The use of expand.split = TRUE is little tested: it is always possible to set it to FALSE and specify exactly all the splits required.
expand.split = TRUE小测试:它始终是可能的设置FALSE,并指定完全劈叉。


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

aov, summary, model.tables, TukeyHSD
aov,summary,model.tables,TukeyHSD


举例----------Examples----------


## For a simple example see example(aov)[#例如对于一个简单的例子(AOV)]

# Cochran and Cox (1957, p.164)[科克伦和考克斯(1957年,第164页)]
# 3x3 factorial with ordered factors, each is average of 12. [3x3的排列因素因子,每个平均12。]
CC <- data.frame(
    y = c(449, 413, 326, 409, 358, 291, 341, 278, 312)/12,
    P = ordered(gl(3, 3)), N = ordered(gl(3, 1, 9))
)
CC.aov <- aov(y ~ N * P, data = CC , weights = rep(12, 9))
summary(CC.aov)

# Split both main effects into linear and quadratic parts.[分裂成线性和二次部分主要影响。]
summary(CC.aov, split = list(N = list(L = 1, Q = 2),
                             P = list(L = 1, Q = 2)))

# Split only the interaction[只有分裂的相互作用]
summary(CC.aov, split = list("N" = list(L.L = 1, Q = 2:4)))

# split on just one var[分裂只是1 VAR]
summary(CC.aov, split = list(P = list(lin = 1, quad = 2)))
summary(CC.aov, split = list(P = list(lin = 1, quad = 2)),

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-23 06:20 , Processed in 0.020491 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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