Displaying 1 result from an estimated 1 matches for "eventx1975".
Did you mean:
eventx1973
2012 Mar 22
1
Macro or Loop info/help needed
...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[t4 $ q101ayr== 73 ] <- 1
t4 $ eventZ1974 <- 0
t4$ eventZ1974[t4 $ q101ayr== 74 ] <- 1
t4 $ eventZ1975 <- 0
t4$ eventZ1975[...