Count actually sampled individuals
Arguments
- samples
A sample_family
data.frame of tekka()
result.
Value
A data.frame with the following columns:
capture_year
location
adult
juvenile
Examples
set.seed(666)
result = tekka("-y20 -l2 --sa 2,2 --sj 2,2")
samples = result$sample_family[[1L]]
count_sampled(samples)
#> # A tibble: 4 × 4
#> capture_year location adult juvenile
#> <int> <int> <int> <int>
#> 1 19 0 2 2
#> 2 19 1 2 2
#> 3 20 0 2 2
#> 4 20 1 2 2