At 06:33 PM 7/23/2012, David Winsemius wrote:
I didn't see a clear way to use either reshape() or the plyr/reshape2 packages to do this, (but would enjoy seeing an example that improved my understanding on this path) so I just looked at your "x" and then created a scaffold with the number of rows needed to match your "y" and filled in the the other columns by first merging to that scaffold and then creating new columns:
That did it! Thanks Jeff ______________________________________________ R-help@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.