ode_nonmem: DeSolve pharmacometrics model creator

View source: R/desolve_to_nonmem.R

ode_nonmemR Documentation

DeSolve pharmacometrics model creator

Description

Create a NONMEM code with a deSolve model.

Usage

ode_nonmem(
  func = Lorenz,
  omega,
  parms = parameters,
  y = state,
  mb_output,
  add_param = "",
  mu_referencig = T,
  BLQ = F,
  datafile = "",
  outputcat = T,
  ...
)

Arguments

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.

Author(s)

Thibaud Derippe


Peccary-PMX/PeccaReverse documentation built on Feb. 7, 2023, 11:26 p.m.