[R] Reducing matrix dimension

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Aug 22 09:33:48 CEST 2003


Thomas W Blackwell <tblackw at umich.edu> writes:

> help("Subscript")

Or, princomp or factanal, depending on what was meant...

> > I have a 12(cols) by 9(rows) matrix X.  I need to reduce this matrix so that
> > it contains 'n' columns (eg.  reduce X into a 3 by 9 matrix).  What is the
> > best method to do this in R?


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list