Dear all,
             Rank of a matrix depends on which factors? Only on rows or
coumns?  or both ? If there is a collinearlity in the variables ( columns )
does it effects the rank?



> X<-matrix((rnorm(10000)),50)
> dim(X)
[1]  50 200
> qr(X)$rank
[1] 50
> X[,2]<-X[,30]
> qr(X)$rank
[1] 50
> X[10,]<-X[7,]
> qr(X)$rank
[1] 49

Thanks

Alex

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to