I have trouble generating the following dummy-variables in R:
I\'m analyzing yearly time series data (time period 1948-2009). I have two questions:
another way you can do it is use
ifelse(year < 1965 , 1, 0)