R/processing_movement_functions.R
guess_threat_speed.RdThis function takes the threat movement up to player (2.5 m distance) or fruit position (.5 m distance), whatever is earlier, and computes the threat speed over this interval
guess_threat_speed(threat_df, player_df, scenario_data, threat_appear_time)A list with threat_speed and move_time (the duration of the movement on which threat_speed is based on)