Convert dynmodel output to nlmixr focei style output

# S3 method for dynmodel
as.focei(
  .dynmodelObject,
  .nlmixrObject,
  .data,
  .time,
  .theta,
  .fit,
  .message,
  .inits.err,
  .cov,
  .sgy,
  .dynmodelControl,
  .nobs2 = 0,
  .pt = proc.time(),
  .rxControl = RxODE::rxControl()
)

Arguments

.dynmodelObject

dynmodel object

.nlmixrObject

nlmixr object

.data

RxODE data set

.time

proc.time object used in dynmodel timing

.theta

estimated terms excluding error terms

.fit

optimized parameters

.message

optimization messages

.inits.err

initial estimates for error terms

.cov

covariance matrix from solved Hessian

.sgy

variance of Y given the model

.dynmodelControl

control options for dynmodel

.nobs2

-

.pt

proc.time object used in dynmodel timing

.rxControl

control options for RxODE

Value

A UI version of a dynmodel object

Author

Mason McComb and Matt Fidler