View source: R/utils-get-rec-ci.R
get_rec_ci | R Documentation |
Get recruitment information for a cohort from two models with an CI envelope % difference calculation
get_rec_ci(model1, model2, yr, digits = 3, perc_digits = 0)
model1 |
A model object, created with |
model2 |
A model object, created with |
yr |
The cohort (year) to extract |
digits |
Number of decimal points to round values to |
perc_digits |
Number of decimal points to round percentages to |
probs |
The 3-vector of probabilities to be passes to the
|
A list of length 3: Item 1 is a vector of the model1
recruitment lower, median, upper, and size of credible interval
(env_diff
column). Item 2 is the same type object for model2
,
and item 3 is the ratio of the model2
env_diff
divided by that
of model1
as a percentage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.