This function works differently from other extract_... functions in that it returns a vector of the same type as the inner_col, not a scalar value.

extract_sequence(df, inner_col, min_time = 0, max_time = Inf)

Arguments

df

Any tibble with columns time and inner_col

inner_col

Any column in df (character)

min_time

minimum time in s (default trial start)

max_time

maximum time in s (default trial end)