nlmixr2est4.1.1 package

Nonlinear Mixed Effects Models in Population PK/PD, Estimation Routines

addCwres

Add CWRES

addNpde

NPDE calculation for nlmixr2

addTable

Add table information to nlmixr2 fit object without tables

agqControl

Control options for the agq estimation method

assertNlmixrFit

Assert that this is a nlmixr2 fit object

assertNlmixrFitData

Assert that this is a nlmixr2 fit data object

bobyqaControl

Control for bobyqa estimation method in nlmixr2

boxCox

Cox Box, Yeo Johnson and inverse transformation

cholSE

Generalized Cholesky Matrix Decomposition

dot-addPkgNlmixr2

Adds a package to the nlmixr2's $sessioninfo inside the fit

dot-agq

Get the adaptive Gauss-Hermite quadrature points and weights

dot-augPredIpredModel

Augment Prediction for Ipred Model

dot-collectWarn

Collect warnings and just warn once.

dot-deparseDifferent

Identify Differences Between Standard and New Objects but used in rxUi...

dot-deparseFinal

Deparse finalize a control or related object into a language object

dot-downgradeEtas

This downgrades the UI for any of the zero etas in the model

dot-foceiPreProcessData

This function process the data for use in focei

dot-iniS3

Initialize S3 methods

dot-nlmAdjustCov

Adjust covariance matrix based on scaling parameters

dot-nlmFinalizeList

Finalizes output list

dot-nlmFreeEnv

Frees nlm environment

dot-nlmixr0preProcessCovariatesPresent

Preprocess Covariates needed (or other data items)

dot-nlmixr2estLastPredSimulationInfo

Get the least prediction simulation information for VPC

dot-nlmixr2FitUpdateParams

Update model to have final parameter estimates for piping and save ori...

dot-nlmixr2objectNameAssign

Allows external methods (like those in nlmixr2) to assign object name

dot-nlmixrNlmeFun

A surrogate function for nlme to call for ode solving

dot-nlmixrNlmFunC

A surrogate function for nlm to call for ode solving

dot-nlmixrNlminbFunC

A surrogate function for nlminb to call for ode solving

dot-nlmixrNlsData

Returns the data currently setup to run nls

dot-nlmixrNlsFun

A surrogate function for nls to call for ode solving

dot-nlmixrNlsFunVal

Internal nls functions for minpack.lm

dot-nlmixrOptimFunC

A surrogate function for optim to call for ode solving

dot-nlmixrPreprocessLiteralFix

This literally fixes parameters in the model

dot-nlmSetupEnv

Setup a nonlinear system for optimization

dot-preProcessDataUi

Preprocess the zero omegas

dot-preProcessZeroOmega

Preprocess the zero omegas

dot-rxGetDVFTransform

Get the DV transformation

dot-saemDropMuRefFromModel

Drop mu referenced etas and covariates

dot-uiApplyMu2

This is an internal function for modifying the UI to apply mu2 referen...

dot-uiFinalizeMu2

This is an internal function for replacing the ui with original model ...

foceControl

Control options for the foce estimation method

foceiControl

Control Options for FOCEi

foceiFitCpp_

Fit/Evaluate FOCEi

foControl

Control options for the FO estimation method

foiControl

Control options foir the FOI estimation method

getBaseSimModelFit

Method for getting simulation rxode2 classic models based on fits

getValidNlmixrControl

Get valid nlmixr control object

laplaceControl

Control options for the Laplace estimation method

lbfgsb3cControl

Control for lbfgsb3c estimation method in nlmixr2

n1qn1Control

Control for n1qn1 estimation method in nlmixr2

newuoaControl

Control for newuoa estimation method in nlmixr2

nlmControl

nlmixr2 defaults controls for nlm

nlminbControl

nlmixr2 nlminb defaults

nlmixr2

nlmixr2 fits population PK and PKPD non-linear mixed effects models.

nlmixr2AllEst

Show all the current estimation methods

nlmixr2AugPredSolve

Augmented Prediction for nlmixr2 fit

nlmixr2CreateOutputFromUi

Create nlmixr output from the UI

nlmixr2Est

Generic for nlmixr2 estimation methods

nlmixr2fix

Try to fix a nlmixr2 fit

nlmixr2Gill83

Get the optimal forward difference interval by Gill83 method

nlmixr2GradFun

Create a gradient function based on gill numerical differences

nlmixr2Hess

Calculate Hessian

nlmixr2iovLogvarCv

Transform the estimated value to %CV for IOV

nlmixr2Logo

Messages the nlmixr2 logo...

nlmixr2NlmeControl

Control Values for nlme Fit with extra options for nlmixr

nlmixr2Print

Print x using the message facility

nlmixr2Validate

Validate nlmixr2

nlmixr2Version

Display nlmixr2's version

nlmixrAddObjectiveFunctionDataFrame

Add objective function data frame to the current objective function

nlmixrAddTiming

Manually add time to a nlmixr2 object

nlmixrCbind

nlmixrCbind

nlmixrClone

Clone nlmixr environment

nlmixrUpdateObject

Update the nlmixr2 object with new fit information

nlmixrWithTiming

Time a part of a nlmixr operation and add to nlmixr object

nlsControl

nlmixr2 defaults controls for nls

nmGetDistributionSaemLines

This is a S3 method for getting the distribution lines for a base rxod...

nmNearPD

C++ implementation of Matrix's nearPD

nmObjGet

Get an item from a nlmixr core object

nmObjGetControl

Get control object from fit

nmObjGetData

Get an item from a nlmixr2FitData object

nmObjGetEstimationModel

Get the estimation model for a fit object depending on the object type

nmObjGetFoceiControl

Method for getting focei compatible control object from nlmixr object

nmObjGetIpredModel

Get the ipred model for a fit object depending on the object type

nmObjGetPredOnly

Get the pred-only model for a fit depending on the object type

nmObjGetRxSolve

Get an option for the estimation method

nmObjHandleControlObject

Handle the control object

nmObjHandleModelObject

Handle Model Object

nmObjUiSetCompressed

Set if the nlmixr2 object will return a compressed ui

nmsimplex

Nelder-Mead simplex search

nmSuppressMsg

Respect suppress messages for nlmixr2 C functions

ofv

Return the objective function

optimControl

nlmixr2 optim defaults

posthocControl

Control options for the posthoc estimation method

preProcessHooks

Return a list of all pre-processing hooks

preProcessHooksAdd

This adds a pre-processing hook to nlmixr2est

preProcessHooksRm

Remove the hook from nlmixr2est

print.saemFit

Print an SAEM model fit summary

reexports

Objects exported from other packages

residuals.nlmixr2FitData

Extract residuals from the FOCEI fit

rmEta

Remove an eta from the model

rxGetDistributionFoceiLines

This is a S3 method for getting the distribution lines for a base rxod...

rxGetDistributionNlmeLines

This is a S3 method for getting the distribution lines for a base rxod...

rxGetDistributionNlsLines

This is a S3 method for getting the distribution lines for a base rxod...

saemControl

Control Options for SAEM

setCov

Set the covariance type based on prior calculated covariances

setOfv

Set/get Objective function type for a nlmixr2 object

sqrtm

Return the square root of general square matrix A

summary.saemFit

Print an SAEM model fit summary

tableControl

Output table/data.frame options

uobyqaControl

Control for uobyqa estimation method in nlmixr2

vpcNameDataCmts

Name the data and compartments

vpcSim

VPC simulation

vpcSimExpand

Expand a VPC simulation

Fit and compare nonlinear mixed-effects models in differential equations with flexible dosing information commonly seen in pharmacokinetics and pharmacodynamics (Almquist, Leander, and Jirstrand 2015 <doi:10.1007/s10928-015-9409-1>). Differential equation solving is by compiled C code provided in the 'rxode2' package (Wang, Hallow, and James 2015 <doi:10.1002/psp4.12052>).

  • Maintainer: Matthew Fidler
  • License: GPL (>= 3)
  • Last published: 2025-10-09