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("-y25 -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 24 0 2 2
#> 2 24 1 2 2
#> 3 25 0 2 2
#> 4 25 1 2 2