fix_reversals: fix_reversals function attempts to fix mis-ID'ed reversals...

fix_reversalsR 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

Description

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

Usage

fix_reversals(df)

Arguments

df

is the input data frame > should be output from beh_merge_all() ie df or lingrad_mirror()

Examples

tot.mat<-fix_reversals(df)

mikeod38/MF.matR documentation built on Feb. 3, 2023, 6:23 p.m.