Extract or replace the stratum names of a
object with ‘stratum’ attribute e.g.
character vector or vector that may be coerced to character, one value per stratum
other arguments (not used)
Replacement values will be coerced to character.
a character vector with one value for each session in
openCR uses the term ‘stratum’ for an independent set of samples, rather like a ‘session’ in secr. Strata offer flexibility in defining and evaluating between-stratum models. The log likelihood for a stratified model is the sum of the separate stratum log likelihoods. Although this assumes independence of sampling, parameters may be shared across strata, or stratum-specific parameter values may be functions of stratum-level covariates. The detector array and mask can be specified separately for each stratum.
For open population analyses, each stratum comprises both primary and secondary sessions of Pollock's robust design ‘joined’ in a single-session capthist object.
stratify can be useful for manipulating data into
Models are stratified only if the argument
openCR.fit() is set to TRUE. Strata will otherwise be treated as
primary sessions and concatenated as usual with
# artificial example, treating years as strata strata(ovenCH)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.