Helper functions for handling tracks
current_track_index()
set_current_track(track_index)
n_tracks()
is_in_track(x, y, track_index = current_track_index())The index of the track.
X-location of data points.
Y-location of data points.
current_track_index() returns the index of the current track.
set_current_track() returns no value.
n_tracks() returns the number of available tracks.
is_in_track() returns a logical vector.
is_in_track() tests whether data points are inside a certain track.