nlmixr (version 1.1.1-2)

gen_saem_user_fn: Generate an SAEM model

Description

Generate an SAEM model using either closed-form solutions or ODE-based model definitions

Usage

gen_saem_user_fn(model, PKpars = attr(model, "default.pars"),
  pred = NULL, inPars = NULL)

Arguments

model

a compiled SAEM model by gen_saem_user_fn()

PKpars

PKpars function

pred

pred function

inPars

a character vector of parameters to be read from the input dataset

Details

Fit a generalized nonlinear mixed-effect model using the Stochastic Approximation Expectation-Maximization (SAEM) algorithm