Check if object is an aniframe
Examples
af <- example_aniframe(n_obs = 3, n_individuals = 1, n_keypoints = 1)
is_aniframe(af)
#> [1] TRUE
# A plain data frame is not one
is_aniframe(data.frame(x = 1))
#> [1] FALSE
Check if object is an aniframe
af <- example_aniframe(n_obs = 3, n_individuals = 1, n_keypoints = 1)
is_aniframe(af)
#> [1] TRUE
# A plain data frame is not one
is_aniframe(data.frame(x = 1))
#> [1] FALSE