View source: R/model-recruitment.R
model_recruitment | R Documentation |
This is for use by developers.
model_recruitment(
data,
year_random = TRUE,
year_trend = TRUE,
adult_female_proportion = 0.65,
sex_ratio = 0.5,
demographic_stochasticity = TRUE,
priors = NULL
)
data |
The data.frame. |
year_random |
A flag indicating whether to include year random effect. If FALSE, year is fitted as a fixed effect. |
year_trend |
A flag indicating whether to fit a year trend effect. Year trend cannot be fit if there is also a fixed year effect (as opposed to random effect). |
adult_female_proportion |
A number between 0 and 1 of the expected proportion of adults that are female.
If NULL, the proportion is estimated from the data (i.e., |
sex_ratio |
A number between 0 and 1 of the proportion of females at birth. |
demographic_stochasticity |
A flag indicating whether to include demographic_stochasticity in the recruitment model. |
priors |
A named vector of the parameter prior distribution values.
Any missing values are assigned their default values in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.