flymoves: Track motion parameter calculator

Description Usage Arguments Details Value

Description

A wrapper function that calls flyrun, flyangle and flyturn and appends them to a track data frame.

Usage

1
flymoves(trx, speedlag = 6, anglelag = 6, turnlag = 6)

Arguments

trx

a track data frame (CTrax values)

speedlag

frame lag for the calculation of speed

anglelag

frame lag for the calculation of the velocity vector angle

turnlag

frame lag for the calculation of the angular velocity

Details

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.

Value

A track data frame including the columns speed, angle and turn. These will contain NA chunks (longer for angle).


PaolaCognigni/CTraxHelper documentation built on May 7, 2019, 11:57 p.m.