fix_reversals | R Documentation |
fix_reversals function attempts to fix mis-ID'ed reversals and carry forward any directional information. For example, it uses previous direction to assign this value for pirouettes and pauses requires plyr, zoo, dplyr and some data.table
fix_reversals(df)
df |
is the input data frame > should be output from beh_merge_all() ie df or lingrad_mirror() |
tot.mat<-fix_reversals(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.