Skip to contents

Fitting

Main entry point and data helper.

admData()
Dummy data frame for nlmixr2 dispatch
nlmixr2Est(<adfo>)
Fit an aggregate data model via First-Order (FO) approximation
nlmixr2Est(<admc>)
Fit an aggregate data model via Monte Carlo (admc estimator)
nlmixr2Est(<adgh>)
Fit an aggregate data model via Gauss-Hermite quadrature
nlmixr2Est(<adirmc>)
Fit an aggregate data model via Iterative Reweighting MC (adirmc estimator)

Writing down the studies

Describe a source the way its paper does — the model it published, the cohort it enrolled — and let admixr2 assemble the summary it implies.

admStudy()
Write down a published study
admStudies()
Collect the studies a meta-analysis draws on
admPopulation()
Describe the population a study enrolled

Covariates

Declare the covariate distribution a source enrolled, and how it enters the fit.

covDist()
Describe the covariate distribution a study's subjects span
covStrata()
Cut a covariate distribution into strata
covDraw()
Draw covariate values from a cov_dist specification

Simulation

Generate aggregate data from models for simulation studies.

datagen()
Generate aggregate study data from (possibly different) pharmacometric models
datagenControl()
Control parameters for datagen()

Control objects

Configuration for each estimator.

adfoControl()
Control settings for the FO (First-Order) estimator
admControl()
Control settings for the ADM estimator
adghControl()
Control settings for the Gauss-Hermite (GH) quadrature estimator
adirmcControl()
Control settings for the IRMC estimator
admStopWorkers()
Stop parallel workers

Methods

S3 methods for fit objects.

print(<admFit>)
Print method for admFit objects
plot(<admFit>)
Diagnostic plots for an admixr2 fit
anova(<admFit>)
Compare nested admixr2 fits by a likelihood-ratio test
admMoments()
Observed and predicted aggregate moments, tidied

Data

Example datasets.

examplomycin
Examplomycin dataset