Documentation

36.17 er command reference

er command reference

This chapter is a lookup reference for nlmx 4.16.1. Option tables are generated from the installed release executable. Read an option in the context of the command page: nlmx uses a global parser, but an accepted option can be irrelevant to a command unless its help text names that command or the command's method chapter defines the behavior.

The safe sequence is: identify the installed version, open that command's help, freeze input/settings/output paths, run into a new or empty output directory, inspect both the process status and the command-native verdict, and retain the log/resolved settings/checksums. A command line is reproducible only when its referenced files and software version are also frozen.

Synopsis

nlmx er [OPTIONS] [DATASET]

Required context. A subject-level or longitudinal table containing exposure, endpoint, treatment/group, time/event, and adjustment covariates required by the chosen endpoint type.

What it does. Fits continuous, binary, ordinal, count, time-to-event, or longitudinal exposure-response analyses, with placebo handling, covariate adjustment/stepwise selection, bootstrap, plots, and comparisons.

Principal outputs. Analysis/model/parameter/effect/prediction tables, exclusions, endpoint-specific diagnostics, plots, report, summary JSON/text, resolved settings, log, and checksums.

Positional arguments shown by installed help

[DATASET]
          Dataset (.csv or other delimited text with a header); same as --data

Practical invocations

  1. nlmx er data/er.csv --exposure AUC --response CHG --models linear,emax -o er
  2. nlmx er -c study.er

Start with installed help and, when available, generate the complete settings template before entering study choices. Run into a new or empty output folder. After completion, review the command's native summary/verdict, warnings, logs, resolved settings, and checksum manifest—not only the console's final line.

Complete installed option reference

The following 64 options are parsed directly from nlmx 4.16.1 er --help. The unmodified txthelp snapshot and its SHA-256 are preserved in the jsonhelp inventory. Shared descriptions sometimes mention several commands; apply only the clause naming er unless its method chapter specifies otherwise.

Options

Option Installed description
-h, --help Print help

Method

Option Installed description
--threads <THREADS> Worker threads for subject- and replicate-level parallelism (default: all cores). Results do not depend on this value

Input selection

Option Installed description
--data <DATA> Analysis dataset (overrides $DATA); sims: simulate this dataset instead of generating one

Core

Option Installed description
-c, --config <FILE> Settings file of the command (TOML syntax), with the command's extension: .covar (cov, posterior, inspect, validate, fit), .qcd, .qcn, .eda, .nca, .init, .screen, .vpc, .forest, .sims, .er, .power, .gen, .ask
-o, --output <OUTPUT> Output directory
--run-dir <RUN_DIR> Existing run directory, for resume
--overwrite Allow writing into a non-empty output directory
--dry-run Run the validation pipeline instead of the full analysis
--no-checkpoint Do not write replicate checkpoints (posterior engine)

Posterior method

Option Installed description
--response <RESPONSE> Response: posterior-draws | posterior-mean er: response (endpoint) column(s), comma separated

Shared numerics

Option Installed description
--seed <SEED> Master seed (uncertainty draws, resampling, posterior draws, vpc simulations, autoinit ML)

Logging and output

Option Installed description
--suppress-console <0|1> 0 (default) prints progress to the terminal; 1 silences it (the log is still written)
--log-file <LOG_FILE> Write the transcript here instead of log_<id>.txt
--no-color Disable ANSI colour
--license Print the license (CC BY-ND 4.0), the third-party components, how long this version may be used and how to contact the author, and stop
-v, --verbose... Increase verbosity (repeatable: info -> debug -> trace)
-q, --quiet Errors only on the terminal (the log file is unaffected)
--keep-subject-ids Do not hash subject identifiers in outputs
--format <FORMAT> Output format for schema: txt | toml | json | json-schema [default: txt]

Forest

Option Installed description
--exposure <LIST> forest: steady-state exposure rows, comma separated: cmax, cmin, ctrough, auc, cavg (or all), from post hoc individual parameters (--exposure-source posthoc) or the typical subject (typical) er: exposure metric column(s), comma separated (e.g. AUC,CMAX,CAVG)

VPC

Option Installed description
--filter <EXPR> R-style condition on data columns. vpc: keep the subjects matching it (at each subject's first record), e.g. "STU > 3001" or "GROUP == 1 & WT < 70 | HT > 154". autoinit, screen: keep the rows matching it (as NONMEM IGNORE/ACCEPT, doses and observations), with text values in quotes, e.g. 'C != "XYZ"' or 'SITE %in% c("A","B")'; an empty cell is "" er: keep the rows matching it
--stratify <COLUMNS> vpc: stratify on data column(s), comma separated (e.g. SEX or DOSE,SEX) er: columns whose levels get their own panels and summaries
--bins <SPEC> vpc: binning: auto (default) | nominal | N (N bins of equal count) | edges such as 0,1,2,4,8,24 er: exposure groups of the active subjects: N quantiles (default 4) or edges such as 0,10,50
--bin-method <METHOD> vpc: binning method: auto | count | width | edges | nominal (with --bins N or edges)
--ci <PCT> vpc: confidence level (%) of the simulated-percentile bands (default 95) er: confidence level (%) of intervals and bands (default 95)
--legend-position <POS> vpc, fit, autoinit, screen: legend position on the charts: bottom (default) | top
--x-title <TEXT> vpc: x-axis title (default: the --idv name)
--y-title <TEXT> vpc: y-axis title of the VPC (default: DV, or prediction-corrected DV)
--no-caption vpc, fit, autoinit, screen: no grey caption (check, observations, date) under the charts
--no-plots vpc: tables only; no HTML report or report SVG files
--no-svg vpc, fit, autoinit, screen: write no SVG files at all (neither svg/ nor plots/svg/); PNG plots and the HTML report are unaffected
--print-config <FILE> write the command's annotated settings template to FILE (with the command's extension, e.g. nlmx.eda, nlmx.vpc) and exit

Dataset (autoinit, screen)

Option Installed description
--mutate <ASSIGNMENTS> eda, er, nca: change or create dataset columns before the analysis, R-syntax assignments separated by ;, e.g. "DV = DV * 4; LNDV = log(DV); HIGH = DOSE == 100" (true is 1, false 0); runs before the filters ([data] mutate)
--id-col <COLUMN> autoinit, screen: subject identifier column (default ID) er: subject column (default ID when present)
--time-col <COLUMN> autoinit, screen: time column (default TIME) er: time column of a time-to-event or longitudinal endpoint
--group <COLUMNS> autoinit, screen: grouping columns, comma separated, for subjects sharing a dosing regimen (or study, formulation, route), e.g. REGIMEN or STUDY,FORM. One set of estimates is made from all subjects, each with its own doses; the groups give the route per group, a regimen summary and a check that their clearances agree er: dose-group (arm) column, used with
--placebo

Plots (vpc, fit, autoinit, screen, nca)

Option Installed description
--log-y vpc, fit: same as --y-scale log
--x-scale <SCALE> vpc, fit, autoinit: x axis of the plots: linear (default) | log (semi-log; values ≤ 0 are not drawn)
--y-scale <SCALE> vpc, fit, autoinit: y axis of the plots: linear (default) | log (semi-log; fit: the DV plots only)
--plot-width <W> plots: figure width in --plot-units (default 7 in)
--plot-height <H> plots: figure height in --plot-units (default 5 in)
--plot-units <UNITS> plots: units of width and height: in (default) | cm | mm | px
--plot-dpi <DPI> plots: resolution in dots per inch (default 300)
--plot-base-size <PT> plots: base font size in points (default 11, as ggplot2)
--plot-format <FORMAT> plots: png (default) | svg | both
--plot-no-title plots: no chart title (for a figure caption)
--plot-no-legend plots: no legend

EDA

Option Installed description
--list-plots eda: print every standard plot and table (ID, name, category) and exit

Screen

Option Installed description
--models <LIST> screen: fit only these candidates, e.g. 1cmt_abs,2cmt_abs (names as in the report) er: models to fit, comma separated: linear, log-linear, emax, sigmoid-emax, hockey-stick (continuous; the first four for binary, ordinal and count; linear and log-linear for the Cox model of tte); default all

Exposure-response (er)

Option Installed description
--er-type <TYPE> er: analysis type: continuous (default) | binary | ordinal | count | tte | longitudinal
--placebo <VALUES> er: values of the --group column that are placebo, comma separated (e.g. 0 or Placebo); placebo subjects get exposure 0
--event-col <COLUMN> er: event column of a time-to-event endpoint (1 = event, 0 = censored by default);
--time-col is the time
--visit-col <COLUMN> er: visit (or nominal time) column of a longitudinal endpoint
--baseline-col <COLUMN> er: baseline column (longitudinal change from baseline)
--er-covariates <COLUMNS> er: covariates adjusted for in the models, comma separated (continuous centred on the median; text or few-level columns as categories)
--er-criterion <NAME> er: criterion for the best model: aic (default) | aicc | bic
--effect-per <SPEC> er: exposure change for odds, rate and hazard ratios and slopes: iqr (default) | unit | sd | doubling | a number
--subject-rows <RULE> er: several rows of one subject: error (default) | first | last | mean | all
--er-plots <LIST> er: plots to draw: names, all (default) or none, comma separated (--list-plots)
--er-selection <MODE> er: covariate selection among --er-covariates: none (default, all kept) | forward | backward | stepwise (forward p < 0.05, backward p < 0.01; likelihood-ratio tests)
--placebo-correction <MODE> er: placebo correction of continuous and longitudinal endpoints: none (default) | subtract (the mean placebo response; per visit, and per placebo_by strata)
--bootstrap <N> er: bootstrap replicates (subjects resampled within groups) for parameter and curve confidence intervals (default 0: none)

Interpretation and common failure

State estimand, analysis population, placebo rule, exposure timing, endpoint window, missing-data handling, model set, covariate-selection rule, multiplicity, and uncertainty. Model ranking is not causal evidence.

The detailed method and examples are in the relevant book chapter. Common nonzero process classes are documented on 36.35. A process exit of zero still requires command-native scientific and numerical review.

Minimal handoff record

Record the version, exact command and working directory, input/settings hashes, selected options and defaults, output path, process exit, native verdict or convergence state, warnings/exclusions, principal results with uncertainty, checksum verification, and reviewer disposition.

See the previous page, next page, and complete command index.