Hey, all Will you please tell me how to generate multiple square orthogonal matrices for data transformation usage? Thanks. Fred
Spencer Graves
2003-Feb-28 06:45 UTC
[R] How to generate multiple squre Orthogonal matrices?
k <- 5 tstMat <- array(runif(k), dim=c(k,k)) tstOrth <- qr.Q(qr(tstMat)) t(tstOrth)%*%tstOrth Is this what you want? Spencer Graves Feng Zhang wrote:> Hey, all > > Will you please tell me how to generate multiple > square orthogonal matrices for data transformation usage? > > Thanks. > > Fred > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-help