powered by
generate a customized NUTS-compatible ODE solver
instant.stan.extension(ode_str = NULL, covar = NULL, multi_state = FALSE)
ODE string
a vector of character with names of covariates
a logical if multi-state
No return value, called for side effects
# NOT RUN { ode <- " d/dt(depot) =-KA*depot; d/dt(centr) = KA*depot - KE*centr; " instant.stan.extension(ode) # }
Run the code above in your browser using DataLab