simulate_m0: Simulate encounter-capture-recapture data.

Description Usage Arguments Value Examples

View source: R/simulate_m0.R

Description

Simulate encounter-capture-recapture data.

Usage

1
2
3
4
5
6
7
simulate_m0(
  n = 100,
  pr_encounter = 0.8,
  pr_cap = 0.8,
  n_timesteps = 3,
  n_aug = 100
)

Arguments

n

The true population size.

pr_encounter

The probability of encountering an individual on one survey.

pr_cap

The probability of capture conditional on encounter.

n_timesteps

The number of repeat surveys.

n_aug

The number of capture histories that augment observed histories.

Value

A list of simulated values

Examples

1
simulate_m0(n = 20, pr_encounter = 0.5, pr_cap = 0.5, n_timesteps = 2, n_aug = 100)

mbjoseph/secmr documentation built on Jan. 29, 2021, 9:35 a.m.