Displaying 1 result from an estimated 1 matches for "07jan2000".
2007 Jul 25
1
if - else
...have some confusion with the use of if - else. Let's say I have a
four variables as follows:
Condition DateFound DateFirstEvent
DateSecondEvent
NA 10Jan2000 NA NA
0 05Jan2000 07Jan2000
10Jan2000
1 07Jan2000 07Jan2000
08Jan2000
2 09Jan2000 NA NA
Now, what I need to do is make a new variable that is either the
midpoint of the first and second event dates, or the date found (I
wi...