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)

SenguptaLab/MF.matR documentation built on Feb. 5, 2023, 4:57 p.m.