View source: R/desolve_to_nonmem.R
ode_nonmem | R Documentation |
Create a NONMEM code with a deSolve model.
ode_nonmem( func = Lorenz, omega, parms = parameters, y = state, mb_output, add_param = "", mu_referencig = T, BLQ = F, datafile = "", outputcat = T, ... )
func |
Function (same as deSolve in functions) |
parms |
Parameters (same as deSolve in functions) |
y |
same as the ode |
add_param |
vector of parameter names to add, mostly usefull for adding baseline parameters. If it has the format "X1_0", with X1 being the name of a cmt, add it as a baseline for the concerned cmt. If the format is "Z = 21", add a new parameter with the name Z and initial value 21. |
mu_referencig |
booléen, declaration of parameters with/without mu referencing. |
datafile |
Either a .tab or an other cfl |
output |
vector of the output names. In case of several outputs, use the format c("name1 = X", "name2 = Y",...), with X/Y being the YTYPE number. |
Thibaud Derippe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.