This function prints a one-line report for grouped or single trajectory objects. For a single trajectory, the trip ID will be printed. For grouped trajectories, the number of trips will be printed.
Examples
# Get input data
c53_traj_grouped <- new_transittraj_data("get_trajectory_fun")
c53_traj_singles <- new_transittraj_data("get_trajectory_fun_single")
# Print: Grouped trajectory object
print(c53_traj_grouped)
#> [1] "AVL group trajectory with 3 trips."
# Print: Single trajectory object
print(c53_traj_singles[[2]])
#> [1] "AVL single trajectory for trip ID 13437100"