simulate_scr: Simulate Spatial Capture-Recapture data

Description Usage Arguments Value

View source: R/simulate.R

Description

Simulate Spatial Capture-Recapture data

Usage

1
2
simulate_scr(par, n_occasions, detectors, mesh, move = FALSE,
  time = NULL, seed = NULL, print = TRUE)

Arguments

n_occasions

number of occasions to simulate

detectors

detectors object made using SECR package make.traps

mesh

mesh object made using SECR make.mask

move

if TRUE, then activity centres move by Brownian motion and par$sd must be specified

time

time of each occasions (e.g. 1 to 10, or 2002, 2003, 2004)

seed

if supplied, random number generator is given this seed

print

if TRUE then useful output is printed

true_par

named vector of D, lambda0, sigma parameters and sd, if movement is desired

Value

a ScrData object


r-glennie/openpopscr documentation built on Oct. 9, 2021, 9:01 p.m.