I am trying to create a survival object using this command.
Surv(date1, date2, event=status)
This led to the error "Temporary variable is not numeric." Note that the classes "date1" and "date2" are Date.
Do I need to force Date objects into numeric objects before creating survival objects? I think this makes no sense.
source share