View source: R/model-survival.R
model_survival | R Documentation |
This is for use by developers.
model_survival(
data,
year_random = TRUE,
year_trend = FALSE,
priors = NULL,
build_derivs = TRUE
)
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). |
priors |
A named vector of the parameter prior distribution values.
Any missing values are assigned their default values in |
build_derivs |
A flag indicating whether to build derivatives Laplace approximation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.