[R] smart way to turn a vector into a matrix
eriki at ccbr.umn.edu
Fri Mar 26 20:24:58 CET 2010
> Oh this is a great answer too thanks erik!
> Anna Lippel
It was really the same answer as Phil. Notice if you use a data.frame
instead of a matrix, you don't have to recast to a 'matrix'-like form,
and therefore the split call is a little simpler. Depending on what
you're doing, it might or might not make sense.
More information about the R-help