This function attempts to automatically detect and correct NA locations in trajectory tables.

fixLocNA(x, spline = FALSE)

## Arguments

x A trajectory data table as produced by the makeTraj function. If spline is TRUE, NA locations are estimated using spline interpolation. If FALSE (the default), a linear interpolation is used instead.

## Value

A trajectory data table as produced by the makeTraj function. If not present, an "error" column will be added that indicates which observations were corrected.

makeTraj, findLocNA
# TODO