Displaying 1 result from an estimated 1 matches for "faildat".
Did you mean:
faildate
2011 Jul 01
1
defining new variable
...;m trying to define new quite simple variable but I'm
struggling with R syntax (when coming to dates) for a while and still
getting <errors> on it.
I would be very grateful if someone could help me with this, to be able to
move on.
I have the following variables:
- Transplant.date
- Faildate
- Death.date
The new variable Time should do the following thing:
Time <-
If Not IsNull(<Faildate>) Then DaysBetween(<transplant date> ,<Faildate>)
Else If IsNull(<Faildate>) And Not IsNull(<Death date>) Then
DaysBetween(<transplant date> ,<Death date...