corNatural(nlme)
corNatural()所属R语言包:nlme
General correlation in natural parameterization
自然参数总相关
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function is a constructor for the corNatural class, representing a general correlation structure in the “natural” parameterization, which is described under pdNatural. Objects created using this constructor must later be initialized using the appropriate Initialize method.
这个函数是一个corNatural类的构造方法,即在“自然”的参数,这是下pdNatural一般相关结构。创建的对象,使用此构造稍后必须初始化使用适当的Initialize方法。
用法----------Usage----------
corNatural(value, form, fixed)
参数----------Arguments----------
参数:value
an optional vector with the parameter values. Default is numeric(0), which results in a vector of zeros of appropriate dimension being assigned to the parameters when object is initialized (corresponding to an identity correlation structure).
一个可选的参数值向量。默认是的numeric(0),导致在零的参数被分配到适当的维向量时object初始化相应的身份相关结构。
参数:form
a one sided formula of the form ~ t, or ~ t | g, specifying a time covariate t and, optionally, a grouping factor g. A covariate for this correlation structure must be integer valued. 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 corNatural representing a general correlation structure.
类corNatural较一般的关系结构中的对象。
作者(S)----------Author(s)----------
Jose Pinheiro and Douglas Bates <a href="mailto:bates@stat.wisc.edu">bates@stat.wisc.edu</a>
参见----------See Also----------
Initialize.corNatural, pdNatural, summary.corNatural
Initialize.corNatural,pdNatural,summary.corNatural
举例----------Examples----------
## covariate is observation order and grouping factor is Subject[#协变量是观察顺序和分组因素是主题]
cs1 <- corNatural(form = ~ 1 | Subject)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|