pdMatrix.reStruct(nlme)
pdMatrix.reStruct()所属R语言包:nlme
Extract Matrix or Square-Root Factor from Components of an
从一个组件中提取的矩阵或平方根因子
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This method function extracts the positive-definite matrices corresponding to the pdMat elements of object, or square-root factors of the positive-definite matrices.
此方法的功能提取正定矩阵对应的pdMatobject,或平方根因素的正定矩阵的元素。
用法----------Usage----------
## S3 method for class 'reStruct'
pdMatrix(object, factor)
参数----------Arguments----------
参数:object
an object inheriting from class reStruct, representing a random effects structure and consisting of a list of pdMat objects.
从类继承的对象reStruct,代表随机效应的结构和组成的一个pdMat对象列表。
参数:factor
an optional logical value. If TRUE, square-root factors of the positive-definite matrices represented by the elements of object are returned; else, if FALSE, the positive-definite matrices are returned. Defaults to FALSE.
一个可选的逻辑值。如果TRUE,object返回的元素所代表的正定矩阵的平方根因素;否则,如果FALSE,正定矩阵返回。 FALSE默认。
值----------Value----------
a list with components given by the positive-definite matrices corresponding to the elements of object, or square-root factors of the positive-definite matrices.
object,或平方根因素正定矩阵的元素对应到正定矩阵的组件列表。
作者(S)----------Author(s)----------
Jose Pinheiro and Douglas Bates <a href="mailto:bates@stat.wisc.edu">bates@stat.wisc.edu</a>
参考文献----------References----------
in S and S-PLUS", Springer, esp. p. 162.
参见----------See Also----------
as.matrix.reStruct, reStruct, pdMat, pdMatrix, pdMatrix.pdMat
as.matrix.reStruct,reStruct,pdMat,pdMatrix,pdMatrix.pdMat
举例----------Examples----------
rs1 <- reStruct(pdSymm(diag(3), ~age+Sex, data = Orthodont))
pdMatrix(rs1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|