R/processing_movement_functions.R
get_fruit_time.Rd
Get fruit appearance or collect time for the n-th fruit This function returns the exact time stamp of this fruit.
get_fruit_time(df, n = 1, event_type = "collect")
A fruit collection data frame. Expected columns are time and event.
time
event
A specific fruit (integer) or "last" (default: 1)
"appear" or "collect" (default)
Time stamp