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

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

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

                                        General Positive-Definite Matrix
                                         一般正定矩阵

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

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

This function is a constructor for the pdLogChol class, representing a general positive-definite matrix. If the matrix associated with object is of dimension n, it is represented by n*(n+1)/2 unrestricted parameters, using the log-Cholesky parametrization described in Pinheiro and Bates (1996). When value is numeric(0), an uninitialized pdMat object, a one-sided formula, or a vector of character strings, object is returned as an uninitialized pdLogChol object (with just some of its attributes and its class defined) and needs to have its coefficients assigned later, generally using the coef or matrix replacement functions. If value is an initialized pdMat object, object will be constructed from as.matrix(value). Finally, if value is a numeric vector, it is assumed to represent the unrestricted coefficients of the matrix-logarithm parametrization of the underlying positive-definite matrix.  
此功能是一个pdLogChol类较一般的正定矩阵,构造。 ,如果object相关的矩阵维n是,它是代表n*(n+1)/2无限制的参数,使用皮涅伊罗和贝茨(1996年)中描述的日志乔列斯基参数化。当value是numeric(0),未初始化的pdMat对象,一种片面的公式,或一个字符串向量,object返回一个未初始化的pdLogChol对象(只是它的一些属性和它的类中定义),都需要有它的系数分配后,一般使用coef或matrix更换功能。如果value是一个初始化pdMat对象,object将修建从as.matrix(value)。最后,如果value是一个数值向量,它被假定为代表的底层正定矩阵的矩阵对数参数化无限制系数。


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


pdLogChol(value, form, nam, data)



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

参数:value
an optional initialization value, which can be any of the following: a pdMat object, a positive-definite matrix, a one-sided linear formula (with variables separated by +), a vector of character strings, or a numeric vector. Defaults to numeric(0), corresponding to an uninitialized object.  
一个可选的初始化值,它可以是下列任何一个pdMat对象,正定矩阵,一种片面的线性公式(与+分离变量),字符串向量或数字向量。 numeric(0)默认值,相应的未初始化的对象。


参数:form
an optional one-sided linear formula specifying the row/column names for the matrix represented by object. Because factors may be present in form, the formula needs to be evaluated on a data.frame to resolve the names it defines. This argument is ignored when value is a one-sided formula. Defaults to NULL.
一个可选的片面指定行/列名为object为代表的矩阵的线性公式。由于因素可能是在form目前,该公式需要评估数据框上,以解决它定义的名字。时value是一种片面的公式,则忽略此参数。 NULL默认。


参数:nam
an optional vector of character strings specifying the row/column names for the matrix represented by object. It must have  length equal to the dimension of the underlying positive-definite matrix and unreplicated elements. This argument is ignored when value is a vector of character strings. Defaults to NULL.
由对象代表一个字符字符串指定为矩阵的行/列名的可选向量。它必须有长度等于底层正定矩阵和非复制的元素的尺寸。时value是一个字符串向量,则忽略此参数。 NULL默认。


参数:data
an optional data frame in which to evaluate the variables named in value and form. It is used to obtain the levels for factors, which affect the dimensions and the row/column names of the underlying matrix. If NULL, no attempt is made to obtain information on  factors appearing in the formulas. Defaults to the parent frame from which the function was called.
在其中评估value和form命名的变量的可选数据框。用它来获得factors,这影响的尺寸和基础矩阵的行/列名的水平。如果NULL,没有尝试获得factors公式中出现的信息。默认从该函数被调用的父框架。


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

a pdLogChol object representing a general positive-definite matrix, also inheriting from class pdMat.
pdLogChol对象较一般的正定矩阵,也继承类pdMat。


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


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



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

Parametrizations for Variance-Covariance Matrices&quot;, Statistics and Computing, 6, 289-296.
in S and S-PLUS&quot;, Springer.  

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

as.matrix.pdMat, coef.pdMat, pdClasses,
as.matrix.pdMat,coef.pdMat,pdClasses


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


pd1 <- pdLogChol(diag(1:3), nam = c("A","B","C"))
pd1

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-22 22:49 , Processed in 0.020926 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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