Is the object a valid trajectory
is_valid_trajectory.Rd
The function tests an object (tibble) for several requirements:
columns `time`, `object`, `x` and `y` are present.
`object` column contains unique values
no value missing in `x` and `y`
`x` and `y` are numeric
Examples
example_pos <-
tibble::tibble(object = 1:8, x = 1:8, y = 4 - (1:8))
is_valid_position(example_pos)
#> [1] TRUE