View source: R/recapture_pairs.R
recapture_pairs | R Documentation |
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.
recapture_pairs(S)
S |
the samples tibble with columns ID, sex, born_year, sampling_year |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.