n_tracks: Number of Tracks in a Track Table

View source: R/utils.R

n_tracksR Documentation

Number of Tracks in a Track Table

Description

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.

Usage

n_tracks(x)

Arguments

x

A track data table as produced by track_df.

Value

A numeric value.

Author(s)

Simon Garnier, garnier@njit.edu

Examples

data(short_tracks)

n_tracks(short_tracks)


swarm-lab/trackdf documentation built on March 27, 2023, 2:13 a.m.