Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nlmixr_fit

Fit a nlmixr model


Description

Fit a nlmixr model

Usage

nlmixr_fit(
  uif,
  data,
  est = NULL,
  control = list(),
  ...,
  sum.prod = FALSE,
  table = tableControl(),
  keep = NULL,
  drop = NULL,
  save = NULL,
  envir = parent.frame()
)

Arguments

uif

Parsed nlmixr model (by nlmixr(mod.fn)).

data

Dataset to estimate. Needs to be RxODE compatible (see https://nlmixrdevelopment.github.io/RxODE/articles/RxODE-event-types.html for detailed dataset requirements).

est

Estimation method

control

Estimation control options. They could be nlmeControl, saemControl or foceiControl

...

Parameters passed to estimation method.

sum.prod

Take the RxODE model and use more precise products/sums. Increases solving accuracy and solving time.

table

A list controlling the table options (i.e. CWRES, NPDE etc). See tableControl.

keep

Columns to keep from either the input dataset. For the input dataset, if any records are added to the data LOCF (Last Observation Carried forward) imputation is performed.

drop

Columns to drop from the output

save

This option determines if the fit will be saved to be reloaded if already run. If NULL, get the option from options("nlmixr.save");

envir

Environment that nlmixr is evaluated in.

Value

nlmixr fit object

Author(s)

Matthew L. Fidler


nlmixr

Nonlinear Mixed Effects Models in Population PK/PD

v2.0.4
GPL (>= 2)
Authors
Matthew Fidler [aut] (<https://orcid.org/0000-0001-8538-6691>), Yuan Xiong [aut], Rik Schoemaker [aut] (<https://orcid.org/0000-0002-7538-3005>), Justin Wilkins [aut] (<https://orcid.org/0000-0002-7099-9396>), Wenping Wang [aut, cre], Robert Leary [ctb], Mason McComb [aut] (<https://orcid.org/0000-0001-9871-8616>), Mirjam Trame [ctb], Teun Post [ctb], Richard Hooijmaijers [aut], Hadley Wickham [ctb], Dirk Eddelbuettel [cph], Johannes Pfeifer [ctb], Robert B. Schnabel [ctb], Elizabeth Eskow [ctb], Emmanuelle Comets [ctb], Audrey Lavenu [ctb], Marc Lavielle [ctb], David Ardia [cph], Daniel C. Dillon [ctb], Katharine Mullen [cph], Ben Goodrich [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.