Skip to content
Back to formatted view

Raw Message

Message-ID: <201207240027.q6O0Rb4x010568@hypatia.math.ethz.ch>
Date: 2012-07-24T00:27:28Z
From: Jeff
Subject: Creating panel data
In-Reply-To: <11782936-5B76-4002-807C-6837F30EC72B@comcast.net>

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