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

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

[复制链接]
发表于 2012-2-17 10:06:18 | 显示全部楼层 |阅读模式
corCompSymm(nlme)
corCompSymm()所属R语言包:nlme

                                        Compound Symmetry Correlation Structure
                                         复合对称相关结构

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

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

This function is a constructor for the corCompSymm class, representing a compound symmetry structure corresponding to uniform correlation. Objects created using this constructor must later be initialized using the appropriate Initialize method.
此功能一个corCompSymm类代表相应的统一相关的复合对称结构,构造。创建的对象,使用此构造稍后必须初始化使用适当的Initialize方法。


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


corCompSymm(value, form, fixed)



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

参数:value
the correlation between any two correlated observations. Defaults to 0.  
之间的任何两个相关意见的相关性。默认为0。


参数:form
a one sided formula of the form ~ t, or ~ t |      g, specifying a time covariate t and,  optionally, a grouping factor g. When a grouping factor is present in form, the correlation structure is assumed to apply only to observations within the same grouping level; observations with different grouping levels are assumed to be uncorrelated. Defaults to ~ 1, which corresponds to using the order of the observations in the data as a covariate, and no groups.   
一个双面公式的形式~ t或~ t |      g,指定时间协t“,可选的分组因素g。当一个分组的因素是在form目前,相关结构假设只适用于在同一分组级别的观察,观察不同的分组级别被假定为不相关。默认~ 1,这相当于使用秩序的意见作为协变量的数据,并没有组。


参数:fixed
an optional logical value indicating whether the coefficients should be allowed to vary in the optimization, or kept fixed at their initial value. Defaults to FALSE, in which case the coefficients are allowed to vary.
一个可选的逻辑值,指明系数是否应允许不同的优化,或保持固定在其初始值。默认FALSE,在这种情况下,系数允许不同。


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

an object of class corCompSymm, representing a compound symmetry correlation structure.
类corCompSymm,代表了复合对称相关结构的对象。


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


Jose Pinheiro and Douglas Bates <a href="mailto:bates@stat.wisc.edu">bates@stat.wisc.edu</a>



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

Volume I: Designed Experiments&quot;, Van Nostrand Reinhold.
in S and S-PLUS&quot;, Springer, esp. pp. 233-234.  

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

corClasses,  Initialize.corStruct, summary.corStruct
corClasses,Initialize.corStruct,summary.corStruct


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


## covariate is observation order and grouping factor is Subject[#协变量是观察顺序和分组因素是主题]
cs1 <- corCompSymm(0.5, form = ~ 1 | Subject)

# Pinheiro and Bates, pp. 222-225 [皮涅伊罗和贝茨,第222-225]
fm1BW.lme <- lme(weight ~ Time * Diet, BodyWeight,
                   random = ~ Time)
# p. 223[页。 223]
fm2BW.lme <- update(fm1BW.lme, weights = varPower())
# p. 225[页。 225]
cs1CompSymm <- corCompSymm(value = 0.3, form = ~ 1 | Subject)
cs2CompSymm <- corCompSymm(value = 0.3, form = ~ age | Subject)
cs1CompSymm <- Initialize(cs1CompSymm, data = Orthodont)
corMatrix(cs1CompSymm)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-2 16:15 , Processed in 0.028371 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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