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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to