[R] question about how to generate an orthogonal matrix with a	known vector
    RICHARD M. HEIBERGER 
    rmh at temple.edu
       
    Mon Nov 23 05:34:25 CET 2009
    
    
  
## You can do this with the qr functions.
tmp <- rnorm(4)
tmp.qr <- qr(tmp)
tmp.complete <- qr.Q(tmp.qr, complete=TRUE)
tmp.complete[,1] / tmp
    
    
More information about the R-help
mailing list