get_stan_model | R Documentation |
This function retrieves a Stan model file based on a combination of input parameters, constructs the file path, and loads the Stan model.
get_stan_model(
type = c("glm", "cox"),
glm_family_string = c("gaussian", "binomial"),
joint_tau = FALSE,
glm_binomial_joint_theta = FALSE,
glm_binomial_joint_alpha = FALSE,
glm_gaussian_known_variance = FALSE
)
type |
Character, either |
glm_family_string |
Character, specifying the family for GLM models, either |
joint_tau |
Logical, if |
glm_binomial_joint_theta |
Logical, if |
glm_binomial_joint_alpha |
Logical, if |
glm_gaussian_known_variance |
Logical, if |
A compiled Stan model loaded by rstan::stan_model
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.