Learn R Programming

stanette (version 2.21.4)

instant.stan.extension: generate a customized NUTS-compatible ODE solver

Description

generate a customized NUTS-compatible ODE solver

Usage

instant.stan.extension(ode_str = NULL, covar = NULL, multi_state = FALSE)

Arguments

ode_str

ODE string

covar

a vector of character with names of covariates

multi_state

a logical if multi-state

Value

No return value, called for side effects

Details

generate a customized NUTS-compatible ODE solver

Examples

Run this code
# 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