Documentation

37.22 Visual-predictive-check settings: complete generated key catalogue

Chapter 37.22 visual
Settings reference workflow

This is the exhaustive generated-template catalogue for nlmx.vpc in nlmx 4.16.2. It contains 56 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.

inputs

Key Type Template state Generated value/example Template annotation and constraints
control_stream string commented example "run101.ctl" or give it on the command line
results_dir string commented example "xyz" folder with the estimation outputs (.ext, .cov);
ext string commented example "run101.ext" # .ext there, or its only .ext file final estimates, as a file (default: results_dir,
data string commented example "../data/analysis.csv" # then .ext beside the control stream, # then _fit/.ext) default: $DATA of the control stream

vpc

Key Type Template state Generated value/example Template annotation and constraints
type string active "pcvpc" vpc | pcvpc | pvcvpc | npc
samples integer active 1000 simulated replicates of the dataset
seed integer active 20240611 No default or constraint is stated on this template line; consult the command page and resolved run.
idv string active "TIME" x axis: a data column, TAD (computed if not a column) or PRED
filter string commented example "STU > 3001" subjects to simulate and plot, in R syntax, e.g.
stratify_on array active [] # "GROUP == 1 & WT < 70 | HT > 154", "DOSE %in% c(100, 200)" data columns, e.g. ["SEX"] or ["DOSE", "SEX"]
stratify_groups integer active 2 quantile groups for a continuous stratification column
max_categories integer active 10 a column with more distinct values is treated as continuous
pi array active [5, 50, 95] percentiles of the data shown (lower, median, upper)
ci integer active 95 confidence level (%) of the simulated-percentile bands
lloq number commented example 0.05 number or data column; enables censoring and the BLQ panel
blq_flag string commented example "BLQ" data column; non-zero marks an observed value as BLQ
x_scale string active "linear" linear | log: semi-log x axis on the plots (x ≤ 0 not drawn)
y_scale string active "linear" linear | log: semi-log y axis (log_y = true is the same)
show_points Boolean active true draw the observations behind the bands
show_outside Boolean active true ring the observed percentiles outside their simulated CI
legend_position string active "bottom" bottom | top
x_title string commented example "Time after dose (h)" x-axis title (default: the idv name)
y_title string commented example "Concentration (mg/L)" y-axis title of the VPC (default: DV, or
caption Boolean active true # prediction-corrected DV for a pcVPC) grey caption: check, observations and date of the plot

prediction_correction

Key Type Template state Generated value/example Template annotation and constraints
log_scale Boolean active false DV on log scale: additive correction pcY = Y + PREDbin - PRED
lower_bound integer active 0 lb in pcY = lb + (Y - lb)(PREDbin - lb)/(PRED - lb)
variability_correction Boolean active false pvcVPC (same as type = "pvcvpc")

binning

Key Type Template state Generated value/example Template annotation and constraints
method string active "auto" auto | count | width | edges | nominal
bins integer commented example 8 number of bins for count / width
edges array commented example [0, 1, 2, 4, 8, 12, 24] bin boundaries for method = "edges"
max_bins integer active 20 upper limit for automatic binning
min_obs integer active 10 sparser bins are merged with a neighbour (not for edges)

npc

Key Type Template state Generated value/example Template annotation and constraints
pi array active [0, 20, 40, 50, 60, 80, 90, 95] prediction intervals (%) checked by the NPC

uncertainty

Key Type Template state Generated value/example Template annotation and constraints
enabled Boolean active false draw THETA/OMEGA/SIGMA for every replicate
cov string commented example "run101.cov" covariance matrix (default: .cov beside the estimates)
parameter_file string commented example "bootstrap_results.csv" parameter sets instead of the .cov
max_attempts integer active 100 # (columns THETA1.., OMEGA(1,1).., SIGMA(1,1)..; one row per set) redraws when a draw leaves the bounds or is not positive definite

output

Key Type Template state Generated value/example Template annotation and constraints
directory string commented example "run101_vpc" default: /_vpc
html Boolean active true vpc_report.html with every plot and table
svg Boolean active true SVG files: report charts in svg/ (and, with [plots]
write_simulations Boolean active false # format svg or both, figures in plots/svg/); false = none vpc_simulations.csv: every simulated observation (large)

plots

Key Type Template state Generated value/example Template annotation and constraints
enabled Boolean active false Publication plots in /plots (PNG by default), drawn in the style of ggplot2's theme_classic(). Any --plot-* option also turns them on.
width integer active 7 figure size, in units
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" in | cm | mm | px
dpi integer active 300 resolution of the PNG (written into the file)
base_size integer active 11 base font size in points (titles and labels scale with it)
format string active "png" png | svg | both (svg: vector files of the same plots)
title Boolean active true chart title (often left to the figure caption)
legend Boolean active true draw the legend (where: [vpc] legend_position)

plots.colors

Key Type Template state Generated value/example Template annotation and constraints
median string active "#EB6834" band of the simulated median
outer string active "#2A78D6" bands of the outer percentiles
observed string active "#000000" observed percentile lines
points string active "#9E9E9E" observations
outside string active "#D62728" markers of percentiles outside their band
reference string active "#4D4D4D" LLOQ and expected-value lines

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: vpcnlmx.vpc.

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