Re: [R] Reconstruct the Q matrix from the QR object

2008-10-29 Thread Richard M. Heiberger
x <- matrix(rnorm(1:20), 5, 4) x.qr <- qr(x) Q <- qr.Q(x.qr) R <- qr.R(x.qr) X <- qr.X(x.qr) Q R X Q %*% R qr.Q(x.qr, complete=TRUE) ## orthogonal completion __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Reconstruct the Q matrix from the QR object

2008-10-29 Thread cruz
Hi, Is it possible to construct a Q from qr() that some of the rows could be specified (to be fixed values)? Thanks, cruz __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-pr