[R] Assignment problems

phillip03 phillipbrigham at hotmail.com
Wed Apr 25 13:09:14 CEST 2012


Thanks again!

I would like to construct 14 new 'year' dummy variables. I have 14 years: 
1992:2006 with 231 observations pr. year. The year dummies should assign a 1
if the observation is within the specific year and 0 otherwise. So for
example: 1992dummyvariable=1 if year=0 and so on. 

P

--
View this message in context: http://r.789695.n4.nabble.com/Assignment-problems-tp4578672p4586252.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list