validate_timedata.RdMake sure that time_data is a data frame, return time column index.
validate_timedata(time_data)
| time_data | User's time_data argument |
|---|
If no error is thrown, the index corresponding to the column holding the time data is returned. If no time_data is supplied NULL type returned.