This private function filters the result by the minimum number of participation required.
filter_min_participation(x, result, min_participation)
A data table with filtered rows based on the specified minimum participation.
The original data table where a preliminary filter is applied
A data table containing the result data from calc_group_combinations.
The minimum activity threshold. accounts with participation count greater than this threshold will be retained in the final 'result' table.