Time data should be consecutive integers: When it is not, try to convert it as best we can or throw an error. If function does not fail, returns the data as data frame object, either processed or not as appropriately
check_time_data(data, time.id)
data.frame object with the data. If function throws error, nothing is returned.
data.frame object.
string specifying the time id variable.
enforces the requirements for time data, with some reasonable defaults