Calculates the turn angle between every point in the track and the last point (target).

turn2target.3d(track)

Arguments

track

a track data.frame containing x, y and z coordinates

Value

A numeric vector with the turn angles to target

Examples

turn2target.3d(niclas)
#>  [1] -0.01387131 -0.05484223  0.09151792 -0.01383114  0.39110744 -0.12582787
#>  [7] -0.15510175 -0.18596202 -0.23856653 -0.42991987 -0.48497623 -0.64166530
#> [13] -0.66008046 -0.41638459 -0.77975258  0.18749322 -0.44925811 -0.22269416
#> [19]  0.03987108 -0.17693973 -0.26897189 -0.24484212 -0.21928401 -0.40805670
#> [25] -0.27806462 -0.31022562  0.15603453  0.49361866 -0.15218652  0.44599890
#> [31] -0.27243340