Learn R Programming

⚠️There's a newer version (2.0.7) of this package.Take me there.

nlmixr (version 1.1.1-7)

Nonlinear Mixed Effects Models in Population Pharmacokinetics and Pharmacodynamics

Description

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 ). Differential equation solving is by compiled C code provided in the 'RxODE' package (Wang, Hallow, and James 2015 ).

Copy Link

Version

Install

install.packages('nlmixr')

Monthly Downloads

124

Version

1.1.1-7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Wenping Wang

Last Published

March 18th, 2020

Functions in nlmixr (1.1.1-7)

addNpde

NPDE calculation for nlmixr
VarCorr.nlmixrNlme

Return VarCorr for nlmixr nlme
Bolus_2CPT

2 Compartment Model
addCwres

Add CWRES
calcCov

Calculate gnlmm variance-covariance matrix of fixed effects
bootdata

Bootstrap data
Wang2007

Simulated Data Set for comparing objective functions
Bolus_1CPT

Bolus_1CPT -- 1 Compartment Model Simulated Data from ACOP 2016
Oral_1CPT

Oral_1CPT -- 1 Compartment Model with Oral Absorption Simulated Data from ACOP 2016
Infusion_1CPT

Infusion_1CPT -- 1 Compartment Model Simulated Data from ACOP 2016
Bolus_2CPTMM

2 Compartment Model with Michelis Menton Clearance
as.saem

Return composite saem/focei to saem
foceiControl

Control Options for FOCEi
cholSE

Generalized Cholesky Matrix Decomposition
foceiFit

FOCEi fit
boxCox

Cox Box, Yeo Johnson and inverse transformation
configsaem

Configure an SAEM model
getOMEGA

Calculate gnlmm variance-covariance matrix of random effects
constructLinCmt

Construct RxODE linCmt function
calc.2LL

Log-likelihood using Gaussian Quadrature
asHux.nlmixrFitCore

Change a nlmixr fit object to a huxtable
calc.COV

Covariance matrix by Fisher Information Matrix via linearization
.nmGetData

This gets the parsed data in the lower-level manner that nlmixr expects.
ini

nlmixr ini block handling
.protectSaem

SAEM dll prodection from garbage collection
instant.stan.extension

instant.stan.extension.
focei.eta

Get the FOCEi theta or eta specification for model.
lincmt

Parameters for a linear compartment model for SAEM
as.focei

Convert fit to FOCEi style fit
as.nlme

Return composite nlme/focei to nlme
gnlmm

Fit a generalized nonlinear mixed-effect model
model

nlmixr model block
nlmixrBounds.eta.names

Get ETA names
focei.theta

Get the FOCEi theta specification for the model
Bolus_1CPTMM

1 Compartment Model w/ Michelis Menton Elimination
dynmodel

Fit a non-population dynamic model
metabolite

Parent/Metabolite dataset
dynmodel.mcmc

Fit a non-population dynamic model using mcmc
gen_saem_user_fn

Generate an SAEM model
gauss.quad

Sets nodes and weigts of Gauss-Hermite quadrature
nlme_gof

GOF plots for nlme-based mixed-effect models
nlmixrBounds.focei.upper.lower

Get upper/lower/names for THETAs
frwd_selection

Forward covariate selection for nlme-base non-linear mixed effect models
foceiFitCpp_

Fit/Evaulate FOCEi
nlmeModList

Access the model list information for nlmixr's nlme user functions
nlme_ode

Fit nlme-based mixed-effect model using ODE implementation
nlmixrPrint

Print x using the message facility
lin_cmt

concentrations from a linear compartment model
nlmixrAugPred

Augmented Prediction for nlmixr fit
nlmixrUI.focei.inits

Get the FOCEi initializations
nlmixrUI.nlme.specs

Create the nlme specs list for nlmixr nlme solving
nlmixrPred

Predict a nlmixr solved system
nlmixrUI.dynmodelfun

Return dynmodel variable translation function
invgaussian

Inverse Guassian absorption model
nlmixrUI.saem.eta.trans

Get the eta->eta.trans for SAEM
nlmixrGill83

Get the optimal forward difference interval by Gill83 method
nlmixrUI.saem.fit

Generate saem.fit user function.
nlmixrBounds

Extract the Nlmixr bound information from a function.
nlmixrEval_

Create a gradient function based on gill numerical differences
nlme_lin_cmpt

Fit nlme-based linear compartment mixed-effect model using closed form solution
nlmixrUI.nlme.var

Get the variance for the nlme fit process based on UI
nlmixrUI.nlmefun

Create the nlme parameter transform function from the UI object.
nlmixrfindLhs

Find the assignments in R expression
nlmixrUI.saem.bres

Get initial estimate for bres SAEM.
nlmixrUI.saem.distribution

Get SAEM distribution
nlmixrSim

Simulate a nlmixr solved system
nlmixrUI.saem.res.name

Get error names for SAEM
nlmixrData

Convert/Format the data appropriately for nlmixr
nlmixrForget

Clear memoise cache for nlmixr
nlmixrUI.saem.log.eta

Get model$log.eta for SAEM
nlmixrUI

Prepares the UI function and returns a list.
nlmixr

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

Dispaly nlmixr's version
print.gnlmm.fit

Print a gnlmm fit
nlmixrUI.saem.model

Generate SAEM model list
saemControl

Control Options for SAEM
print.dyn.mcmc

Summary of a non-population dynamic model fit using mcmc
plot.saemFit

Plot an SAEM model fit
plot.nlmixrFitData

Plot a nlmixr data object
nlmixr_fit

Fit a nlmixr model
nlmixrHess

Calculate Hessian
nmDataConvert

Convert data to RxODE format (depreciated)
nlmixrUI.saem.theta.name

Get THETA names for nlmixr's SAEM
ofv

Return the objective function
nlmixrUI.saem.ares

Get initial estimate for ares SAEM.
nlmixrUI.saem.init.omega

SAEM's init$omega
nlmixrUI.saem.res.mod

Get the SAEM model$res.mod code
nlmixrLogo

Messages the nlmixr logo...
nlmixrUI.rxode.pred

Return RxODE model with predictions appended
nlmixrUI.saem.model.omega

Get the SAEM model Omega
nlmixrUI.saem.init.theta

Generate SAEM initial estimates for THETA.
nmsimplex

Nelder-Mead of simplex search
nlmixrUI.focei.fixed

Get parameters that are fixed
nmxInclude

Get a list of directories for inclusion
nmDocx

Create a run summary word document
nlmixrUI.saem.fixed

Get parameters that are fixed for SAEM
reexports

Objects exported from other packages
pheno_sd

Single Dose Phenobarbitol PK/PD
summary.dyn.ID

Summary of a non-population dynamic model fit
print.nlmixrUI

Print UI function
print.saemFit

Print an SAEM model fit summary
sqrtm

Return the square root of general square matrix A
vpc

Vpc function for nlmixr
setOfv

Set Objective function type for a nlmixr object
nlmixrUI.saem.init

Get saem initilization list
residuals.nlmixrFitData

Extract residuals from the FOCEI fit
nlmixrValidate

Validate nlmixr
nlmixrUI.theta.pars

Get the Parameter function with THETA/ETAs defined
vpc_nlmixr_nlme

Visual predictive check (VPC) for nlmixr nlme objects
plot.dyn.ID

Plot of a non-population dynamic model fit
summary.saemFit

Print an SAEM model fit summary
summary.dyn.mcmc

Summary of a non-population dynamic model fit using mcmc
nmLst

Create a large output based on a nlmixr fit
prediction

Prediction after a gnlmm fit
plot.dyn.mcmc

Plot of a non-population dynamic model fit using mcmc
vpc_saemFit

VPC for nlmixr saemFit objects
vpc_ui

VPC based on ui model
tableControl

Output table/data.frame options
print.dyn.ID

Print a non-population dynamic model fit object
saem.cleanup

Cleanup saem_fit environment by removing dll after the object is no logner used by R.
saem.fit

Fit an SAEM model
traceplot

Produce trace-plot for fit if applicable
theo_sd

Multiple dose Theophilline PK data
theo_md

Multiple dose Theophilline PK data
pump

Pump failure example dataset
warfarin

Warfarin PK/PD data
rats

Pregnant Rat Diet Experiment