Description Usage Arguments Value
takes simple mathematical R expressions and determines whether they can be parsed into stan code
1 | check_valid(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 |
Nothing if the expression is valid. Otherwise an exception is thrown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.