Define trips as squid trips based on the percentage of squid caught in each trip A new column is created containing a boolean

assign_squid_trips(allData, p = 0.3)

Arguments

allData

Data frame

p

Numeric. Value used to define the proportion of squid (by landings) in a trip to identify as a squid trip