Description Usage Arguments Details Value Author(s) See Also
Returns a character containing the compiled JAGS or Stan code from a metajags or metastan model.
1 2 3 4 | ## S3 method for class 'metamodel'
code(x, ...)
## S3 method for class 'metamodel'
as.character(x, ...)
|
x |
A metabayes model (e.g. an object with class |
... |
Additional arguments passed to or from other methods. |
The code
method returns a character string containing the compiled JAGS
or Stan code from a metajags or metastan model.
For "metabayes"
and derived object, as.character(x)
returns the
same value as code(x)
.
A character string.
Matthew Kay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.