Find the closest duplicate appearance based on coordinates
closest_dup(target_core, x0, y0, dup_xy_list, dup_xy)The personID of the closest duplicate appearance.
The coreID of the individual to find.
The x-coordinate of the reference point.
The y-coordinate of the reference point.
A list of data.frames, each containing duplicate appearances for a specific coreID with columns: `personID`, `x_pos`, `y_pos`, and `total_blue`.
A data.frame containing all duplicate appearances with columns: `personID`, `coreID`, `x_pos`, `y_pos`, and `total_blue`.