rb_trip_jepol.Rd
Use the columns "SI_HARB" to determine when a vessel is on a trip. A trip is defined from when it leaves the harbour till it returns
rb_trip_jepol(
vessel_id,
time,
in_harbour,
min_dur = 0.5,
max_dur = 72,
split_trips = TRUE
)
a vector containing vessel id
a vector containing timestamp
a binary vector indicating if vessel in harbour (1) or not (0)
the minimum trip length (hours)
the maximum trip length (hours)
If the trip is longer than the maximum hours, it will try to split the trip into two or more trips, if there is long enough intervals between pings
a gps datset