This function retrieves or updates
the time index values from a trackframe object.
The trackframe has a data frame-like structure with an attribute
specifying the column containing time index values.
Examples
time(tf_mini)
#> [1] "2025-10-14 13:48:46 UTC" "2025-10-14 13:49:46 UTC"
#> [3] "2025-10-14 14:15:46 UTC" "2025-10-14 14:16:46 UTC"
#> [5] "2025-10-14 14:17:46 UTC" "2025-10-14 13:48:46 UTC"
#> [7] "2025-10-14 13:52:46 UTC" "2025-10-14 14:22:46 UTC"
#> [9] "2025-10-14 14:23:46 UTC" "2025-10-14 13:48:46 UTC"
#> [11] "2025-10-14 13:49:46 UTC"
time(tf_mini) <- seq_along(nrow(tf_mini))