Package: nmpilot 0.9.0

nmpilot: R Tools for Direct NONMEM Workflow Automation

Direct execution of NONMEM via nmfe (no Wings, no PsN), data-driven suggestion of structural models before any NONMEM run (number of compartments, input, elimination and residual error models, initial values, expected precision of the sampling design), writing of control streams (compartmental PK models, MU referencing, inter-occasion variability, M3 method for BQL data) with a static check, parsing of NONMEM output files (.lst, .ext, .phi, .fit), VPC/pc-VPC generation, dataset preparation and visualization, and run comparison tools for pharmacometric workflows.

Authors:Nicolas Simon [aut, cre]

nmpilot_0.9.0.tar.gz
nmpilot_0.9.0.zip(r-4.7-any)nmpilot_0.9.0.zip(r-4.6-any)nmpilot_0.9.0.zip(r-4.5-any)
nmpilot_0.9.0.tgz(r-4.6-any)nmpilot_0.9.0.tgz(r-4.5-any)
nmpilot_0.9.0.tar.gz(r-4.7-any)nmpilot_0.9.0.tar.gz(r-4.6-any)
nmpilot_0.9.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
nmpilot/json (API)

# Install 'nmpilot' in R:
install.packages('nmpilot', repos = c('https://nskoch.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nskoch/nmpilot/issues

Pkgdown/docs site:https://nskoch.github.io

On CRAN:

Conda:

3.48 score 39 exports 31 dependencies

Last updated from:81452de903. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK382
source / vignettesOK285
linux-releaseOK340
macos-releaseOK333
macos-oldrelOK376
windows-develOK463
windows-releaseOK267
windows-oldrelOK451
wasm-releaseOK119

Exports:nm_add_ratenm_bootstrapnm_check_datasetnm_comparenm_compare_runsnm_convert_ctlnm_coresnm_ctl_checknm_ctl_iovnm_ctl_m3nm_ctl_munm_data_previsualnm_derivatives_ctlnm_export_datanm_export_plotnm_extract_run_tablenm_extract_runsnm_filter_runsnm_gofnm_guidenm_guide_addinnm_identify_directorynm_identify_parametersnm_jackknifenm_model_diagramnm_optimize_basenm_plot_dvnm_profilenm_read_csvnm_runnm_suggest_covariatesnm_suggest_designnm_suggest_modelnm_suggest_runnm_summarynm_vpcnm_vpc_ctlnm_wassersteinnm_write_ctl

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclelubridatemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithr

Getting started with nmpilot
1. The data set | 2. Writing a control stream | 3. Running NONMEM | 4. Results of all the runs | 5. Goodness-of-fit plots | 6. Comparing two models | 7. Visual predictive check | 8. Uncertainty

Last update: 2026-11-25
Started: 2026-11-21

Covariate assessment with the Wasserstein distance
Example | Several pairs of quartiles | Inputs

Last update: 2026-11-21
Started: 2026-11-15

Readme and manuals

Help Manual

Help pageTopics
Add a RATE column to a NONMEM datasetnm_add_rate
Nonparametric (case) bootstrap of a NONMEM modelnm_bootstrap
Check that a dataset is compatible with NONMEMnm_check_dataset
Compare two NONMEM runsnm_compare print.nm_compare summary.nm_compare
Compare the parameters of several runs side by sidenm_compare_runs
Convert a Wings for NONMEM extended control stream to standard NONMEMnm_convert_ctl
Number of processor cores available for parallel NONMEM runsnm_cores
Static check of a NONMEM control streamnm_ctl_check
Add inter-occasion variability to a NONMEM control streamnm_ctl_iov
Implement the M3 method for BQL data in a NONMEM control streamnm_ctl_m3
MU referencing of a NONMEM control streamnm_ctl_mu
Pre-visualise a NONMEM-like datasetnm_data_previsual
Control stream of derivatives for the linearization of a base modelnm_derivatives_ctl
Export a data.frame to CSV (NONMEM convention: na = ".")nm_export_data
Export a ggplot to an image filenm_export_plot
Parameter table of one NONMEM run, exported to Wordnm_extract_run_table
Extract the results of several NONMEM runsnm_extract_runs
Filter NONMEM runs and recompute relative criterianm_filter_runs
Goodness-of-fit diagnostic plots from a NONMEM $TABLE filenm_gof
Interactive task guidenm_guide
Identify THETA/ETA roles for all control streams of a directorynm_identify_directory
Identify the semantic role of THETA and ETA in a NONMEM control streamnm_identify_parameters
Leave-one-subject-out jackknife of a NONMEM modelnm_jackknife print.nm_jackknife
Diagram of the models tested in a projectnm_model_diagram
Proposals to improve a base model without iterative NONMEM runsnm_optimize_base plot.nm_optimize_base print.nm_optimize_base
Plot DV vs TIME with median and interval bandnm_plot_dv
Profile the objective function over one model parameternm_profile plot.nm_profile print.nm_profile
Read and normalise a NONMEM-like datasetnm_read_csv
Run one or more NONMEM modelsnm_run
Covariate screening on individual PK estimates before modellingnm_suggest_covariates print.nm_suggest_covariates
Expected precision of a suggested model for a sampling designnm_suggest_design plot.nm_suggest_design print.nm_suggest_design
Suggest structural PK models from a NONMEM datasetnm_suggest_model print.nm_model_suggestion
Write, run and rank the candidates of a model suggestionnm_suggest_run print.nm_suggest_run
Diagnostic summary of a NONMEM-like datasetnm_summary
Visual Predictive Check (VPC or pc-VPC) from NONMEM simulation outputnm_vpc
Generate VPC control streams and launch NONMEM runsnm_vpc_ctl
Distribution-based covariate assessment with the Wasserstein distancenm_wasserstein print.nm_wasserstein
Write a NONMEM control stream for a population PK modelnm_write_ctl
Diagnostic plots for 'nm_compare' objectsplot.nm_compare
Plots for 'nm_jackknife' objectsplot.nm_jackknife
Plot a model suggestionplot.nm_model_suggestion
Plots for 'nm_wasserstein' objectsplot.nm_wasserstein