Re: [R] Alternative and more efficient data manipulation

2011-08-15 Thread Dennis Murphy
Hi: As previously mentioned, the reshape package (in particular, melt()) is an alternative to make.groups(), although they serve the same purpose in this example: dat <- data.frame(`x1`=runif(6, 0, 125), `x2`=runif(6, 50, 75), `x3`=runif(6, 0, 100),

Re: [R] Alternative and more efficient data manipulation

2011-08-15 Thread Mikhail Titov
2011 6:58 PM > To: r-help@r-project.org > Subject: [R] Alternative and more efficient data manipulation > > Hello list, > > ## I have been doing the following process to convert data from one > form to another for a while but it occurs to me that there is probably > an eas

[R] Alternative and more efficient data manipulation

2011-08-15 Thread Sam Albers
Hello list, ## I have been doing the following process to convert data from one form to another for a while but it occurs to me that there is probably an easier way to do this. I am often given data that have column names which are actually data and I much prefer dealing with data that are sorted