Description Usage Arguments Value
takes simple mathematical R expressions and turns them into a specific type of Stan code to fill in the template
1 | exp_to_stan(exprn, max_params, max_dep)
|
exprn |
the expression to parse |
max_params |
the number of parameters in the model, which determines the maximum parameter index that can be referenced in the expression |
max_dep |
the number of dependent variables in the model, which determines the amximum dependent variables index that can be referenced in the model |
A string with the Stan code derived from the R expressions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.