Learn R Programming

trackdf (version 0.3.3)

n_tracks: 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)

Value

A numeric value.

Arguments

x

A track data table as produced by track_df.

Author

Simon Garnier, garnier@njit.edu

Examples

Run this code
data(short_tracks)

n_tracks(short_tracks)

Run the code above in your browser using DataLab