[R] What is the fastest way to combine all columns of a matrix to one column?

Petr PIKAL petr.pikal at precheza.cz
Mon Feb 27 10:12:12 CET 2012


Hi
> 
> Dear all,
> 
> Newbie: What is the fastest way to combine all columns of a matrix to 
one
> column?

If mm is your matrix use

dim(mm) <-NULL

Regards
Petr


> 
> --
> View this message in context: http://r.789695.n4.nabble.com/What-is-the-
> 
fastest-way-to-combine-all-columns-of-a-matrix-to-one-column-tp4423882p4423882.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list