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

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

[复制链接]
发表于 2012-2-16 19:00:47 | 显示全部楼层 |阅读模式
fixDependence(mgcv)
fixDependence()所属R语言包:mgcv

                                        Detect linear dependencies of one matrix on another
                                         检测一个矩阵的线性依赖关系,在另一

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

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

Identifies columns of a matrix X2 which are linearly dependent on columns of a matrix X1. Primarily of use in setting up  identifiability constraints for nested GAMs.
标识X2矩阵是线性依赖矩阵X1列列。主要是设立嵌套GAMS辨识约束。


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


fixDependence(X1,X2,tol=.Machine$double.eps^.5,rank.def=0)



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

参数:X1
A matrix.
矩阵。


参数:X2
A matrix, the columns of which may be partially linearly dependent on the columns of X1.
A矩阵,列,这可能是部分线性依赖X1列。


参数:tol
The tolerance to use when assessing linear dependence.
公差评估时使用的线性关系。


参数:rank.def
If the degree of rank deficiency in X2, given X1,  is known, then it can be supplied here, and tol is then ignored.  Unused unless positive and not greater than the number of columns in X2.
如果秩亏程度X2,X1,被称为,那么它可以提供在这里,和tol然后被忽略。未使用的,除非积极和不大于列X2的。


Details

详情----------Details----------

The algorithm uses a simple approach based on QR decomposition: see Wood (2006, section 4.10.2) for details.
该算法采用一种简单的方法,基于QR分解:详见伍德(2006年,第4.10.2节)。


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

An vector of the columns of X2 which are linearly dependent on columns of X1. NULL if the two matrices are independent.
X2这列向量线性依赖X1列。 NULL如果两个矩阵是独立的。


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


Simon N. Wood <a href="mailto:simon.wood@r-project.org">simon.wood@r-project.org</a>



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

and Hall/CRC Press.

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


library(mgcv)
n<-20;c1<-4;c2<-7
X1<-matrix(runif(n*c1),n,c1)
X2<-matrix(runif(n*c2),n,c2)
X2[,3]<-X1[,2]+X2[,4]*.1
X2[,5]<-X1[,1]*.2+X1[,2]*.04
fixDependence(X1,X2)
fixDependence(X1,X2,rank.def=2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-5 07:02 , Processed in 0.021094 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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