Complete nlmx er command and settings index
This page lists the complete nlmx 4.16.0 er surface. Generate the installed-version template with nlmx er --print-config nlmx.er and the installed plot list with nlmx er --list-plots.
Minimal forms
nlmx er DATASET --exposure AUC --response CHG
nlmx er DATASET --er-type binary --exposure CAVG --response RESP
nlmx er DATASET --er-type tte --exposure AUC --time-col PFS --event-col EVENT
nlmx er -c nlmx.er
Direct command-line options
| Option | Meaning and accepted values/default |
|---|---|
DATASET, --data FILE |
input delimited dataset; positional and named forms are equivalent |
-c, --config FILE |
TOML .er settings file |
-o, --output DIR |
output directory; otherwise settings or <dataset-stem>_er |
--overwrite |
allow a nonempty output directory |
--dry-run |
validation pipeline instead of full analysis |
--threads N |
worker threads; default all cores; intended results thread-invariant |
--seed N |
master seed for bootstrap |
--exposure A,B |
exposure columns, comma separated |
--response A,B |
endpoint columns, comma separated |
--er-type TYPE |
continuous (default), binary, ordinal, count, tte, longitudinal |
--models LIST |
linear,log-linear,emax,sigmoid-emax,hockey-stick; allowable subset depends on type |
--group COL, --placebo V,W |
dose-arm column and placebo values |
--id-col COL |
subject identifier; defaults to detected ID when present |
--time-col COL, --event-col COL |
TTE time/event; time can also support longitudinal visit when visit absent |
--visit-col COL, --baseline-col COL |
longitudinal visit and baseline columns |
--er-covariates A,B |
adjustment/selection candidates |
--er-selection MODE |
none (default), forward, backward, stepwise |
--er-criterion NAME |
aic (default), aicc, bic |
--effect-per SPEC |
iqr (default), unit, sd, doubling, or number |
--subject-rows RULE |
error (default), first, last, mean, all |
--filter EXPR |
global R-style keep condition |
--mutate ASSIGNMENTS |
ordered R-style column assignments separated by semicolons |
--stratify A,B |
by columns for overall plus level-specific analyses |
--bins N or --bins edges |
active exposure groups; default 4; edges such as 0,10,50 |
--bin-method METHOD |
for er, grouping method corresponding to quantile/equal/edges settings |
--ci PCT |
confidence level, default 95 |
--placebo-correction MODE |
none (default) or subtract for continuous/longitudinal |
--bootstrap N |
subject bootstrap replicates, default 0 |
--er-plots LIST |
named plots, all (default), or none |
--list-plots |
print 16 plot identifiers and exit |
--print-config FILE |
write annotated .er template and exit |
--x-scale, --y-scale |
linear or log; --log-y aliases log y-scale |
--x-title TEXT, --y-title TEXT |
figure axis titles |
--legend-position POS |
right, bottom, top, none as supported by er settings/help |
--no-caption |
omit grey figure caption |
--plot-width/--plot-height N |
output size in selected units |
--plot-units UNIT |
in (default), cm, mm, px |
--plot-dpi N, --plot-base-size N |
raster resolution and base font size |
--plot-format FORMAT |
png (default), svg, both |
--plot-no-title, --plot-no-legend |
suppress these figure elements |
--no-plots |
no plots or HTML report |
--no-svg |
suppress SVG files; PNG/report unaffected |
| `--suppress-console 0 | 1` |
--log-file FILE |
custom transcript path |
--no-color, -v (repeatable), -q |
terminal formatting/verbosity; log remains detailed |
--keep-subject-ids |
do not hash subject IDs in outputs |
--license, -h/--help |
print license or help and stop |
The shared parser also displays --run-dir (resume), --no-checkpoint (posterior), and --format (schema). They are not er analysis controls. Do not include them in an E–R specification expecting scientific behavior.
[data] settings
| Key | Default / role |
|---|---|
file |
dataset path; relative to the settings file |
id |
detected ID when present |
filter |
none; global keep expression |
mutate |
none; ordered assignments before filters |
subject_rows |
error; or first, last, mean, all |
missing |
[".","NA","NaN",""] |
[analysis] common, exposure, and model settings
| Keys | Defaults / accepted values |
|---|---|
type, exposure, response, name |
continuous; required columns; generated name |
group, placebo, by, filter |
optional arm/placebo/subgroup/per-analysis filter |
models |
five continuous shapes by default; allowable subset by endpoint |
criterion, ci, effect_per, min_subjects |
aic, 95, iqr, 10 |
placebo_value, active_zero |
0; exclude or keep |
exposure_min, exposure_max |
unset |
bins, bin_method, edges |
4; quantile; unset; alternatives equal, edges |
log_zero, log_offset |
exclude; otherwise offset and default half smallest positive |
covariates |
none; fixed terms or selection candidates |
covariate_selection |
none, forward, backward, stepwise |
p_forward, p_backward |
0.05, 0.01 |
forced_covariates, selection_model |
none; best no-candidate model when unset |
placebo_correction, placebo_by |
none; or subtract; no strata |
bootstrap, seed |
0; deterministic default unless explicitly set |
Endpoint-specific [analysis] settings
| Family | Keys and defaults |
|---|---|
| continuous | outliers="keep", outlier_z=4, prediction_interval=false |
| binary | positive=["1","Y","YES","TRUE","RESPONDER"], proportion_ci="wilson" or exact |
| ordinal | levels unset: numeric or alphabetical sorting; set explicit clinical order |
| count | offset unset; dispersion="auto" or poisson, quasi, negbin |
| TTE | time, event; event_value=["1"]; km_groups="bins"; km_ci="log-log" (log/plain accepted); reference="placebo" or lowest; landmarks, risk_times unset |
| longitudinal | visit, baseline; change_from_baseline=false; baseline_visit unset; central="mean" or median; error="se", sd, or ci |
[[analyses]], [labels], [figures], [plots], [output]
| Section | Complete keys |
|---|---|
[[analyses]] |
any [analysis] key; omitted keys inherit from base [analysis] |
[labels] |
arbitrary COLUMN="Readable label (units)" pairs |
[figures] |
show, x_scale, y_scale, points, jitter, point_alpha, point_size, band, binned, boxplot, all_models, risk_table, censor_marks, km_band, color_by, x_title, y_title, palette, placebo_color, curve_color, legend_position, caption, ncol |
[figures] defaults |
all, linear/linear, true, 0.03, 0.5, 1.0, true, true, true, false, true, true, false, group, automatic titles, default palette, grey placebo, black curve, right, true, 2 |
[plots] |
width=7, height=5, units="in", dpi=300, base_size=11, format="png", title=true, legend=true |
[output] |
directory automatic; tables=true; data=true |
All 16 plot identifiers
er, er-models, er-bins, effects, residuals, qq, km, km-group, km-all, hazard-ratios, longitudinal, longitudinal-group, slopes, covariates, exposure-by-group, exposure-correlation.
Output families
Always possible: er_summary.txt, er_summary.json, report.html when plots/report enabled, er_analyses.csv, exposure summary/correlation, transcript, checksums. Per model-based analysis: models, parameters, effects, predictions, at-exposures, by-exposure-group, used data, exclusions, covariate effects/selection, placebo correction. TTE adds KM, KM summary, hazard ratios. Longitudinal adds visits and slopes. Plot filenames use stable analysis slugs.
Return to the Chapter 33 overview or start 33.1.