odin_ir | R Documentation |
Return detailed information about an odin model. This is the mechanism through which coef works with odin.
odin_ir(x, parsed = FALSE)
x |
An |
parsed |
Logical, indicating if the representation should be
parsed and converted into an R object. If |
The returned data is subject to change for a few versions while I work out how we'll use it.
exp_decay <- odin::odin({
deriv(y) <- -0.5 * y
initial(y) <- 1
}, target = "r")
odin::odin_ir(exp_decay)
coef(exp_decay)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.