search for: eventx1973

Displaying 1 result from an estimated 1 matches for "eventx1973".

Did you mean: eventx1974
2012 Mar 22
1
Macro or Loop info/help needed
...year designation (e.g., 73, 74,75, 76, etc), which corresponds to the year something occurred (e.g., 73=1973). Each of the 20 variables is similarly designated, but corresponds to a different type of event/occurrence. I need to reorder the data in this fashion: # first event t4 $ eventX1973 <- 0 t4$ eventX1973[t4 $ q100ayr== 73 ] <- 1 t4 $ eventX1974 <- 0 t4$ eventX1974[t4 $ q100ayr== 74 ] <- 1 t4 $ eventX1975 <- 0 t4$ eventX1975[t4 $ q100ayr== 75 ] <- 1 etc. for years between 73 and 88 # second event t4 $ eventZ1973 <- 0 t4$ eventZ1973[...