R/checks.R
check_ordered.RdChecks if grouping is ordered by time and then outputs the correct order
check_ordered(group, time_data, return = TRUE)
| group | a c_grouping |
|---|---|
| time_data | a vector of time |
| return | T/F return the new order or just run check? |