See bbs_population_groups() for details on group assignment. Groups are sampled in each composition survey in proportion to group_coverage.

bbs_population_groups_survey(
  population,
  month_composition = 9,
  group_size_lambda = 5,
  group_size_theta = 2,
  group_max_proportion = 1/4,
  group_min_size = 2,
  group_coverage = 0.2
)

Arguments

population

A matrix of the population by stage and period (output of bbs_population() or bbs_population_caribou()).

month_composition

A whole number between 1 and 12 of the month that composition surveys take place, relative to the start of the biological year.

group_size_lambda

A number of the lambda value of the gamma-poisson distribution to draw group sizes from.

group_size_theta

A number of the theta value of the gamma-poisson distribution to draw group sizes from.

group_max_proportion

A number between 0 and 1 of the maximum group size as proportion of the total population.

group_min_size

A whole positive number of the minimum group size.

group_coverage

A number between 0 and 1 of the proportion of groups sampled.

Value

A list of observed groups in each composition survey.

Examples

survival <- bbs_survival_caribou(0.84)
fecundity <- bbs_fecundity_caribou(0.7)
x <- bbs_population_caribou(survival, fecundity = fecundity, adult_females = 100)
bbs_population_groups_survey(x, group_coverage = 0.1)
#> [[1]]
#> [[1]][[1]]
#> [1] 3 2 5 2
#> 
#> [[1]][[2]]
#> [1] 6 5 6 6
#> 
#> 
#> [[2]]
#> [[2]][[1]]
#>  [1] 2 5 2 4 2 5 5 3 5 5 1 5 6 5 6 6 1 6 5 5 2 5 5
#> 
#> [[2]][[2]]
#>  [1] 6 5 3 6 6 6 3 6 3 6 5
#> 
#> 
#> [[3]]
#> [[3]][[1]]
#> [1] 6 5 5 5 5 5 4
#> 
#> [[3]][[2]]
#> [1] 6 6 1 2
#> 
#> 
#> [[4]]
#> [[4]][[1]]
#>  [1] 5 6 5 5 2 6 5 5 5 5 2 5 2 6 6 5 6 5 1 4
#> 
#> [[4]][[2]]
#> [1] 1 6 2 5 2 6
#> 
#> 
#> [[5]]
#> [[5]][[1]]
#> [1] 5 6 6
#> 
#> [[5]][[2]]
#> [1] 5 6 5 5 1 2 3 6 6
#> 
#> 
#> [[6]]
#> [[6]][[1]]
#> [1] 5 5 3 3
#> 
#> [[6]][[2]]
#> [1] 3 6 5 1 4 5 5
#> 
#> [[6]][[3]]
#> [1] 5 5 6 5 2
#> 
#> 
#> [[7]]
#> [[7]][[1]]
#> [1] 5 5 2
#> 
#> [[7]][[2]]
#> [1] 5 5 3 4 1 1 6
#> 
#> 
#> [[8]]
#> [[8]][[1]]
#> [1] 5 5 5 5
#> 
#> [[8]][[2]]
#>  [1] 6 6 3 6 6 5 5 5 2 3 3 6 6 6 5 2 5 5 6 6 5 5
#> 
#> 
#> [[9]]
#> [[9]][[1]]
#>  [1] 1 4 2 2 2 6 2 5 5 1
#> 
#> [[9]][[2]]
#> [1] 6 5 3 6 6
#> 
#> 
#> [[10]]
#> [[10]][[1]]
#>  [1] 6 5 6 5 5 5 6 6 5 1 5 5 5
#> 
#> [[10]][[2]]
#>  [1] 5 5 2 5 6 1 6 3 1 6 5
#> 
#>