Internal function

internal_process(subgroup, window_size, threshold_year)

Arguments

subgroup

A subgroup of the pre-processed data groups, generated by migrbc::pre_process.

window_size

The maximum length of the scanning period. Can be an integer giving the number of days, the result of a call to function difftime, or an object of class Duration.

threshold_year

The length of the yearly test period. Can be an integer giving the number of days, the result of a call to function difftime, or an object of class Duration.

Value

A data frame object of classified / labelled journeys.