flychain: Transition matrix generation from event series

Description Usage Arguments Details Value

Description

Takes a vector of consecutive events and compares each to the event chainlag frames away.

Usage

1
flychain(events, chainlag)

Arguments

events

a vector of consecutive events (for example, the whatis column of a flyclass-processed track data frame)

chainlag

frame lag across which to compare

Details

This is a bit of a wrapper function because the format of table is really awkward and I expect I would forget how to handle it and have to re-google it avey time.

Value

A transition matrix, normalised to have rows summing to 1 for further probability work.


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