Documentation

37.30 Exposure-response settings: complete generated key catalogue

Chapter 37.30 visual
Settings reference workflow

This is the exhaustive generated-template catalogue for nlmx.er in nlmx 4.16.2. It contains 102 unique dotted key paths. “Active” means the generated example assigns the key; “commented example” means the template exposes it without assigning it. The value column is a template value or example—not automatically the program default. Defaults and constraints are reported only when the nearby template annotation states them.

How to use the table

Search by the full table and key context. Preserve TOML type: do not quote numbers or Booleans, and do not replace an array with a comma-separated string unless the template explicitly uses a string grammar. When two settings interact, use the orientation page and command chapter to review the combination rather than interpreting rows independently.

data

Key Type Template state Generated value/example Template annotation and constraints
file string commented example "er.csv" the dataset (or give it on the command line)
id string commented example "ID" subject column (default: ID when present)
filter string commented example "STUDY != 3" rows to keep, R syntax: & | ! == != < > %in% c(...)
mutate string commented example "LNAUC = log(AUC); HIGH = DOSE == 200" No default or constraint is stated on this template line; consult the command page and resolved run.
subject_rows string active "error" # change or create columns first (R syntax, in order, # before the filters; true is 1, false 0); the # changed dataset is written to the output folder several rows of one subject …
missing array active [".", "NA", "NaN", ""] error | first | last | mean | all cells read as missing

analysis

Key Type Template state Generated value/example Template annotation and constraints
type string active "continuous" continuous | binary | ordinal | count | tte | longitudinal
exposure array commented example ["AUC", "CMAX"] test, Cox proportional hazards longitudinal: means over visits by exposure group, exposure slope per visit exposure metric column(s); each is analysed
response array commented example ["CHG"] endpoint column(s); each is analysed with each exposure
group string commented example "DOSE" dose group (arm) column
placebo array commented example ["0", "Placebo"] values of group that are placebo
by array commented example ["STUDY"] also analyse each level of these columns separately
covariates array commented example ["BASE", "SEX"] adjusted for in every model (continuous centred on
filter string commented example "VISIT == 12" the median; text or <= 5 levels: categories) rows of this analysis only (after [data] filter)
name string commented example "Week 12" label of the analysis (default: RESPONSE vs EXPOSURE)
models array active ["linear", "log-linear", "emax", "sigmoid-emax", "hockey-stick"] No default or constraint is stated on this template line; consult the command page and resolved run.
criterion string active "aic" continuous: all five; binary, ordinal, count: the first four (on the logit / log scale); tte (Cox): linear, log-linear best model: aic | aicc | bic
ci integer active 95 confidence level (%) of intervals and bands
effect_per string active "iqr" exposure change for slopes and odds/rate/hazard ratios:
min_subjects integer active 10 iqr (25th -> 75th percentile) | unit | sd | doubling | a number fewer subjects: the analysis is skipped
placebo_value integer active 0 exposure exposure given to placebo subjects
active_zero string active "exclude" active subjects with exposure <= 0 or missing:
exposure_min integer commented example 0 exclude | keep keep exposures in [min, max]
exposure_max integer commented example 1000 No default or constraint is stated on this template line; consult the command page and resolved run.
bins integer active 4 exposure groups of the active subjects (4 = quartiles)
bin_method string active "quantile" quantile | equal (equal width) | edges
edges array commented example [0, 10, 50, 200] boundaries for bin_method = "edges"
log_zero string active "exclude" log-linear models and C = 0 (placebo):
log_offset number commented example 0.5 exclude | offset (log(C + log_offset)) default: half the smallest positive exposure
outliers string active "keep" continuous endpoints keep | flag | exclude: |studentised residual| > outlier_z
outlier_z integer active 4 (exclude refits without them)
prediction_interval Boolean active false also the 95% prediction interval of a new subject
positive array active ["1", "Y", "YES", "TRUE", "RESPONDER"] binary endpoints values meaning "response"
proportion_ci string active "wilson" wilson | exact (Clopper-Pearson), binned proportions
levels array commented example ["0", "1", "2", "3"] ordinal endpoints order of the categories (default: sorted values)
offset string commented example "FUTIME" count endpoints exposure time of each subject (log offset), e.g. years
dispersion string active "auto" auto (quasi-Poisson when Pearson chi2/df > 1.5) |
time string commented example "PFS" poisson | quasi | negbin (negative binomial, NB2) time-to-event endpoints (response or time is the time column) time to event or censoring
event string commented example "EVENT" event indicator column
event_value array active ["1"] values of event meaning an event (others: censored)
km_groups string active "bins" Kaplan-Meier curves by: bins (placebo + exposure
km_ci string active "log-log" groups) | group (dose groups) | both log-log | log | plain: confidence interval of S(t)
reference string active "placebo" Cox hazard ratios of the exposure groups against:
landmarks array commented example [6, 12] placebo | lowest (the lowest exposure group) survival probability reported at these times
risk_times array commented example [0, 3, 6, 9, 12] number at risk shown at these times (default: the ticks)
visit string commented example "VISIT" longitudinal endpoints visit or nominal time column (default: time)
baseline string commented example "BASE" baseline column, for change from baseline
change_from_baseline Boolean active false analyse response - baseline (baseline column, or the
baseline_visit integer commented example 0 value at this visit)
central string active "mean" mean | median
error string active "se" se | sd | ci: error bars of the visit summaries
covariate_selection string active "none" covariate selection (model-based types): covariates are the candidates none (every covariate kept) | forward | backward |
p_forward number active 0.05 stepwise (forward, then backward: as SCM) forward inclusion: likelihood-ratio p below this
p_backward number active 0.01 backward elimination: removed when p is not below this
forced_covariates array commented example ["BASE"] always in the models, never tested
selection_model string commented example "emax" the model the selection runs on (default: the best
placebo_correction string active "none" model without the candidate covariates) placebo correction (continuous and longitudinal endpoints) none | subtract: the mean placebo response is
placebo_by array commented example ["STUDY"] subtracted (per visit for longitudinal endpoints) ... within the levels of these columns
bootstrap integer active 0 uncertainty replicates (subjects resampled within dose groups)
seed integer commented example 20241024 for parameter and curve intervals; 0 = none

analyses[]

Key Type Template state Generated value/example Template annotation and constraints
name string commented example "ORR vs Cavg" / "PFS" No default or constraint is stated on this template line; consult the command page and resolved run.
type string commented example "binary" / "tte" No default or constraint is stated on this template line; consult the command page and resolved run.
exposure array commented example ["CAVG"] / ["AUC"] No default or constraint is stated on this template line; consult the command page and resolved run.
response array commented example ["ORR"] No default or constraint is stated on this template line; consult the command page and resolved run.
time string commented example "PFS" No default or constraint is stated on this template line; consult the command page and resolved run.
event string commented example "PFSEVT" No default or constraint is stated on this template line; consult the command page and resolved run.

labels

Key Type Template state Generated value/example Template annotation and constraints
AUC string commented example "AUC (ng·h/mL)" No default or constraint is stated on this template line; consult the command page and resolved run.
CHG string commented example "Change from baseline" No default or constraint is stated on this template line; consult the command page and resolved run.

figures

Key Type Template state Generated value/example Template annotation and constraints
show array active ["all"] plots to draw (nlmx er --list-plots), or ["none"]
x_scale string active "linear" linear | log (exposure axis; placebo drawn at the left)
y_scale string active "linear" linear | log (continuous and count endpoints)
points Boolean active true the observations behind the curves
jitter number active 0.03 vertical jitter of 0/1 points (fraction of the axis)
point_alpha number active 0.5 No default or constraint is stated on this template line; consult the command page and resolved run.
point_size number active 1.0 relative size
band Boolean active true confidence band of the fitted curve
binned Boolean active true observed mean / proportion by exposure group, with CI
boxplot Boolean active true exposure by dose group under the exposure-response plot
all_models Boolean active false every fitted model on the main plot (else the best)
risk_table Boolean active true number at risk under the Kaplan-Meier plots
censor_marks Boolean active true censored times on the Kaplan-Meier curves
km_band Boolean active false confidence band of the Kaplan-Meier curves
color_by string active "group" points coloured by: group | bins | none
x_title string commented example "Cavg (ng/mL)" axis titles (default: [labels] or the column)
y_title string commented example "Probability of response" No default or constraint is stated on this template line; consult the command page and resolved run.
palette array commented example ["#0072B2", "#E69F00", "#009E73", "#D55E00", "#CC79A7", "#56B4E9"] No default or constraint is stated on this template line; consult the command page and resolved run.
placebo_color string active "#7F7F7F" No default or constraint is stated on this template line; consult the command page and resolved run.
curve_color string active "#000000" No default or constraint is stated on this template line; consult the command page and resolved run.
legend_position string active "right" right | bottom | top | none
caption Boolean active true grey caption: model, n, date
ncol integer active 2 panels per row of multi-panel plots

output

Key Type Template state Generated value/example Template annotation and constraints
directory string commented example "er_out" default: /_er
tables Boolean active true CSV tables
data Boolean active true the analysis datasets as used (with exclusions)

plots

Key Type Template state Generated value/example Template annotation and constraints
width integer active 7 inches (units = in | cm | mm | px)
height integer active 5 No default or constraint is stated on this template line; consult the command page and resolved run.
units string active "in" No default or constraint is stated on this template line; consult the command page and resolved run.
dpi integer active 300 No default or constraint is stated on this template line; consult the command page and resolved run.
base_size integer active 11 base font size (points)
format string active "png" png | svg | both
title Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
legend Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.

Catalogue review checklist

  • The key appears under the intended table and uses the exact spelling.
  • Its TOML type matches the generated example.
  • Any stated enumeration, range or unit is satisfied.
  • Required companion keys and mutually exclusive choices are reconciled.
  • Relative paths resolve from the documented base.
  • CLI overrides are recorded with the run.
  • The effective value and its scientific consequence are reviewed in output evidence.

Source snapshot: nlmx.er.

See the previous page, next page, and complete settings reference.