Track tables produced by track_df
can contain
multiple tracks (e.g., from different animals). This function returns the
number of tracks in a track table.
Arguments
- x
A track data table as produced by
track_df
.
Author
Simon Garnier, garnier@njit.edu
Examples
data(short_tracks)
n_tracks(short_tracks)
#> [1] 2