Skip to contents

The sampling rate, in Hz

Usage

get_sampling_rate(data)

Arguments

data

An aniframe or anievent object.

Value

Numeric scalar, or NA when the rate is not recorded.

Examples

af <- example_aniframe(n_obs = 3, n_individuals = 1, n_keypoints = 1)
get_sampling_rate(af)
#> [1] NA