Learn R Programming

nlmixr (version 0.9.1-3)

rxFoceiInner: Solve the FOCEI inner problem

Description

Solve the FOCEI inner problem

Usage

rxFoceiInner(object, ..., dv, eta, c.hess = NULL, eta.bak = NULL,
  estimate = TRUE, inner.opt = c("n1qn1", "lbfgs"), return.env = FALSE,
  add.grad = FALSE)

Arguments

object

RxODE object

...

values sent to rxFoceiEtaSetup and lbfgs

dv

dependent variable

eta

eta value

c.hess

Hessian curvature matrix in compressed form (Used for n1qn1)

eta.bak

backup eta value in case eta estimation fails

estimate

Boolean indicating if the optimization should be perfomed(TRUE), or just keep the eta, and calculate the Loglik with fitted/posthoc attributes(FALSE).

inner.opt

Inner optimization method; Either n1qn1 or lbfgs

return.env

Return the environment instead of the llik.

add.grad

Add A gradient attribute, if not present.

Value

Loglik with fitted and posthoc attributes