Description Usage Arguments Details Value

Aligns `stepsize`

consecutive frames from each start to a reference coordinate system where start is
always (0,0) and end is always (x,0).

1 | ```
flyfigures(trx, stepsize = 6, output = "list")
``` |

`trx` |
a track data frame |

`stepsize` |
the size of the time window (in frames) |

`output` |
whether to output the minimal data (a matrix containing the x,y data as the real and imaginary parts of a complex number) or a more intuitive but somwehat fiddlier list format. |

From each frame, `stepsize`

frames are selected and the position data (`x`

and `y`

)
are aligned (shifted and rotated) to a common reference system, yielding transformed `x`

and `y`

.
These are collected into a matrix of `frame`

by `stepsize`

elements (thus oversampling the data).

either a `frame`

by `stepsize`

complex matrix (if `output='complex'`

) where Re is
x and Im is y, or a list containing a matrix for `x`

, one for `y`

, and vectors for `id`

and
`starttime`

to match each matrix row to a frame and fly unambiguosly.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.