Displaying 1 result from an estimated 1 matches for "09jan2000".
Did you mean:
07jan2000
2007 Jul 25
1
if - else
...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
will call Start).
I tried an if - else condition as follows:
Start <- if (DateFirstEven < DateSecondEvent)
(DateFir...