C_calc_pr_capture: Computes probability of each capture record for Jolly-Seber...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Computes probability of each capture record for Jolly-Seber model

Usage

1
2
C_calc_pr_capture(n, J, K, M, capvec, enc_rate, usage, num_cores,
  num_states, detector_type)

Arguments

n

number of individuals

J

total number of occasions

K

total number of traps ever used

M

total number of mesh points

capvec

a pointer to the capthist array

enc_rate

a pointer to the encounter rate array, see calc_pr_capture() in JsModel

usage

matrix with J x K where (j,k) entry is usage of trap k in occasion j

num_cores

number of processor cores to use in parallelisation

detector_type

1 = count, 2 = proximity/binary, 3 = multi-catch

num_states:

2 = CJS model, 3 = JS model

Value

Array with (i,j,m) entry the probability of capture record for individual i in occasion j given activity centre at mesh point m


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