R/processing_trial_functions.R
summarise_movement_cols.Rd
Convenient wrapper around `summarise_movement`. For provided columns, summarises movement data frames and returns the same data frame with unique time stamp values and a new column `n` to indicate duplicated time stamps.
summarise_movement_cols(
df,
.cols = tidyselect::ends_with("_movement_data_0") & !(tidyselect::starts_with("valid")),
by = "time"
)
A trial results data frame.
Columns containing movement dataframes (Default: all movement data).
Time stamp column, default is `time`
The same data frame with old movement data columns replaced