subset_track() is a function that subsets trackways from a list of trackway data based on the specified indices.
Arguments
- data
A
trackwayR object. Seetps_to_track.- tracks
A numeric vector specifying the indices of trackways to subset. The default is to include all trackways.
Value
A trackway R object that contains only the specified subset of trackways. The structure of the returned object mirrors the input structure but includes only the selected trackways.
Details
This function subsets both the Trajectories and Footprints elements of the input data based on the provided vector of indices.
It allows users to focus on a specific subset of trackways for further analysis or visualization, particularly when working with large datasets containing numerous trackways.

