Skip to contents

Exactly one column, of any name, holding the position of each row within its temporal context: the when$index slot. It is never a grouping column. An anievent() has none, since a bout spans the start/stop interval.

Usage

get_index(data)

Arguments

data

An anipoint object.

Value

Length-one character vector naming the index column.

See also

set_index() to change it, get_variables() for the other temporal columns.

Examples

af <- example_anipoint(n_obs = 3, n_individuals = 1, n_keypoints = 1)
get_index(af)
#> [1] "time"