Learn R Programming

trackdf (version 0.3.3)

n_dims: Number of Spatial Dimensions of a Track Table

Description

Track tables produced by track_df can have 2 (x,y) or 3 (x, y, z) spatial dimensions. This function returns the number of spatial dimensions of a track table.

Usage

n_dims(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_dims(short_tracks)

Run the code above in your browser using DataLab