track_helper: Helper functions for handling tracks

current_track_indexR Documentation

Helper functions for handling tracks

Description

Helper functions for handling tracks

Usage

current_track_index()

set_current_track(track_index)

n_tracks()

is_in_track(x, y, track_index = current_track_index())

Arguments

track_index

The index of the track.

x

X-location of data points.

y

Y-location of data points.

Details

is_in_track() tests whether data points are inside a certain track.

Value

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.


spiralize documentation built on June 22, 2024, 10:45 a.m.