Return detailed information about an odin model. This is the mechanism through which coef works with odin.
coef
odin_ir(x, parsed = FALSE)
An odin_generator function, as created by odin
odin_generator
odin
Logical, indicating if the representation should be parsed and converted into an R object. If FALSE we return a json string.
FALSE
The returned data is subject to change for a few versions while I work out how we'll use it.
# NOT RUN { exp_decay <- odin::odin({ deriv(y) <- -0.5 * y initial(y) <- 1 }, target = "r") odin::odin_ir(exp_decay) coef(exp_decay) # }
Run the code above in your browser using DataLab