
Quick version of separate_trajectories()
Source:R/utility_functions.R
quick_separate_trajectories.RdMostly meant for internal use but available nevertheless.
Value
A viewr object (tibble or data.frame with attribute
pathviewr_steps that includes "viewr") in which a new column
file_sub_traj is added, which labels trajectories within the data by
concatenating file name, subject name, and a trajectory number (all
separated by underscores).
Details
This function is designed to separate rows of data into separately labeled trajectories.
The max_frame_gap parameter determines how trajectories will be
separated. max_frame_gap defines the largest permissible gap in data
before a new trajectory is forced to be defined. In this function, only a
single numeric can be supplied to this parameter (unlike the case in
separate_trajectories).
See also
Other data cleaning functions:
gather_tunnel_data(),
get_full_trajectories(),
redefine_tunnel_center(),
relabel_viewr_axes(),
rename_viewr_characters(),
rotate_tunnel(),
select_x_percent(),
separate_trajectories(),
standardize_tunnel(),
trim_tunnel_outliers(),
visualize_frame_gap_choice()
Other functions that define or clean trajectories:
get_full_trajectories(),
separate_trajectories(),
visualize_frame_gap_choice()