Saturday, February 1, 2020

How do I do two j for reshape command? Use reshape twice?

Hello,
I have a wide data set that contains variables:
PUBID (individuals ID)
startdate__njob_year

Ideally, I would want to have two j (year Njob)
so that the data could look like:
Array

what should I do? My professor suggests that I could do reshape twice.
Thanks in advance!

No comments:

Post a Comment