Encapsulates data from spatial capture-recapture survey into a single object. Object can be created using $new with arguments:
capthist: capture history object from secr package with trap information included
mesh: mask object from secr package
time: optional vector of numeric time each occasion took place at (used for irregularly spaced occasions). Default is vector of ones.
cov: a list of covariate (for detector and occasion)
cov_type: type of covariate (j = detector cov, k = occasion cov, jk = detector+occasion,)
Methods include:
capthist(): return capture history object
traps(): return traps object
mesh(): return mesh object
time(): return time vector
covs(j, k): return covariate values at detector j on occasion k
n(): return number of individuals seen over the entire survey
n_occasions(): return number of capture occasions in the survey
n_traps(): return number of traps used at some time in the survey
n_meshpts(): return number of mesh points
area(): return total area of the mesh
add_covariate(covariate_name, covariate_dataframe, covariate_type): add covariate to object
distance(): return matrix with (i,j)th entry the distance from trap i to mesh point j
1 |
An object of class R6ClassGenerator
of length 24.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.