odin_ir {odin} | R Documentation |
Return detailed information about an odin model
Description
Return detailed information about an odin model. This is the mechanism through which coef works with odin.
Usage
odin_ir(x, parsed = FALSE)
Arguments
x |
An |
parsed |
Logical, indicating if the representation should be
parsed and converted into an R object. If |
Warning
The returned data is subject to change for a few versions while I work out how we'll use it.
Examples
exp_decay <- odin::odin({
deriv(y) <- -0.5 * y
initial(y) <- 1
}, target = "r")
odin::odin_ir(exp_decay)
coef(exp_decay)
[Package odin version 1.2.5 Index]