Description Usage Arguments Value
Convert a typical logistic equation formula into a Stan code
1 2 |
formula |
A formula that you would pass to 'glm' or similar. |
data |
A data frame of observations. |
link |
A link function (either "logit" or "probit") |
adaptive_pooling |
Logical (FALSE by default) Specifies whether adaptive pooling should be used when fitting the model. Requires that both an intecept and factor variables are included in the formula. |
A model and data that can be used by 'rstan::stan' as well as information about the model and the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.