Re: [R] How to set panel data format

2013-07-13 Thread arun
eq_along(dat$COUNTRY)-1)%/%as.vector(table(dat$COUNTRY))+1 # [1] 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 A.K. - Original Message - From: Rui Barradas To: serenamas...@gmail.com Cc: 'r-help' Sent: Saturday, July 13, 2013 12:04 PM Subject: Re: [R] How to set panel data format Hell

Re: [R] How to set panel data format

2013-07-13 Thread Rui Barradas
Hello, It's better if you keep this on the list, the odds of getting more and better answers is greater. Inline. Em 13-07-2013 15:38, serenamas...@gmail.com escreveu: Hi Rui, thanks for your reply. No, my problem isn't one of reshaping. It is just that I want R to know I have a panel and n