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")

Arguments

df

A fruit collection data frame. Expected columns are time and event.

n

A specific fruit (integer) or "last" (default: 1)

event_type

"appear" or "collect" (default)

Value

Time stamp