A wrapper function that calls
flyturn and appends them to a track data frame.
flymoves(trx, speedlag = 6, anglelag = 6, turnlag = 6)
a track data frame (CTrax values)
frame lag for the calculation of speed
frame lag for the calculation of the velocity vector angle
frame lag for the calculation of the angular velocity
Each motion function can receive a specific
framelag value; by default they are all at 6.
This function is kept separate from
trxgarnish so that it can be run with different
framelag parameters without recalculating all the location variables as well.
In the future
angle could be optional as it's a bit of a lame duck variable.
A track data frame including the columns
turn. These will contain
NA chunks (longer for
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.