You should type
. help expand
On Tue, Jan 29, 2013 at 1:19 PM, K Jensen <k.x.jensen@gmail.com> wrote:
> I have frequency data that I would like to transform to individual
> data. It is fruit and vegetable intake categorised by smoking. So I
> would like to go from:
>
> frandveg smoke=0 smoke=1 total
> 0 0 2 2
> 0.5 1 0 1
> 1 2 3 5 etc
>
> To
> frandveg smoke
> 0 1
> 0 1
> 0.5 0
> 1 0
> 1 0
> 1 1
> 1 1
> 1 1
>
> How would I go about this?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/