recapture_pairs: Return the recaptures from amongst the samples

Description Usage Arguments Details

View source: R/recapture_pairs.R

Description

Given the tibble of sampled individuals return a tibble of all the recaptures. This is a somewhat complicated operation that expands recaptures to all possible pairs of recaptures. (i.e. if the individual was caught on 3 different occasions there will be three separate pairs). The column pair_type shows RC for recapture.

Usage

1

Arguments

S

the samples tibble with columns ID, sex, born_year, sampling_year

Details

This is broken now that sampling in different life episodes is demarcated as such. But I have left it in here unexported and internal in case I want to pick it up at some point.


CKMRpop documentation built on July 17, 2021, 5:07 p.m.