Exploratory data analysis of a PK/PD dataset: concentration-time profiles (spaghetti, individual, mean with error bars, dose-normalised), sampling and dosing, BLQ, covariate distributions, pairs and correlations, observed exposure against covariates and dose, PK-PD; summary tables; custom plots and tables from the settings file. Writes plots/, CSV tables and report.html. Optional settings file: -c nlmx.eda (--print-config; --list-plots lists the standard plots and tables). --mutate changes or creates columns first (R syntax) Usage: nlmx eda [OPTIONS] [DATASET] Arguments: [DATASET] Dataset (.csv or other delimited text with a header); same as --data Options: -h, --help Print help Method: --threads Worker threads for subject- and replicate-level parallelism (default: all cores). Results do not depend on this value Covariates: --covariates run, inspect, validate: covariates to test on a parameter, PARAM=COV1,COV2 (repeatable, or ';'-separated), e.g. --covariates CL=WT,AGE,SEX --covariates V=WT. Types (continuous, binary, categorical) are detected from the data. Replaces the configuration's scope; with a model (--ctl or --model-dir) no -c file is needed Core: -c, --config 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 directory --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) Shared numerics: --seed Master seed (uncertainty draws, resampling, posterior draws, vpc simulations, autoinit ML) Logging and output: --suppress-console <0|1> 0 (default) prints progress to the terminal; 1 silences it (the log is still written) --log-file Write the transcript here instead of log_.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 Output format for `schema`: txt | toml | json | json-schema [default: txt] VPC: --filter 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 vpc: stratify on data column(s), comma separated (e.g. SEX or DOSE,SEX) er: columns whose levels get their own panels and summaries --lloq vpc, autoinit, screen: lower limit of quantification (vpc: a number or a data column; autoinit, screen: a number); values below it are censored / left out --blq-flag vpc: data column flagging observed values as BLQ (non-zero), used with --lloq --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 --print-config 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): --mutate 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 autoinit, screen: subject identifier column (default ID) er: subject column (default ID when present) --time-col autoinit, screen: time column (default TIME) er: time column of a time-to-event or longitudinal endpoint --dv-col autoinit, screen: observation column (default DV) --amt-col autoinit, screen: dose amount column (default AMT) --evid-col autoinit, screen: event identifier column (default EVID; inferred from AMT if absent) --mdv-col autoinit, screen: missing-DV flag column (default MDV; inferred if absent) --cmt-col autoinit, screen: compartment column (default CMT; used to tell IV from oral doses) --rate-col autoinit, screen: infusion rate column (default RATE) --addl-col autoinit, screen: additional doses column (default ADDL) --ii-col autoinit, screen: dosing interval column (default II) --ss-col autoinit, screen: steady-state flag column (default SS) --group 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 --route autoinit, screen: administration route: auto (default: RATE > 0 = infusion; with CMT, a dose into the observed compartment = IV bolus, else oral; without CMT, the profile shape decides: rising after the dose = oral, highest at the first sample = IV) | oral | iv (bolus, or infusion when RATE > 0) | bolus | infusion | mixed (oral and IV told apart by CMT) --dv-log autoinit, screen: DV is the natural log of the concentration --obs-filter autoinit, screen: keep only the observation records matching an R-style condition (doses are always kept), e.g. "DVID == 1 & BLQ == 0"; --filter tests every row Autoinit: --dose-unit autoinit: dose unit (g, mg, ug, ng, pg); with --conc-unit sets the scale --conc-unit autoinit: concentration unit (mass/volume: mg/L, ug/mL, ng/mL, pg/mL, …); with --dose-unit sets the scale so that volumes are in L NCA: --individual-rows nca: rows of panels per page of individual plots (1-20, default 4) --individual-cols nca: columns of panels per page of individual plots (1-20, default 4) QC: --categorical qc-data: covariates to treat as categorical, comma separated (default: whole numbers with few levels). The covariates to check are given with --covariates WT,AGE,SEX --time-varying qc-data: covariates that change within an individual, comma separated --tad-col qc-data: column with the time after the latest dose, compared with the dosing history --nominal-time-col qc-data: column with the nominal (scheduled) time, compared with TIME --dvid-col qc-data: column with the observation type (DVID, YTYPE), listed per type EDA: --list-plots eda: print every standard plot and table (ID, name, category) and exit --eda-plots eda: standard plots to draw: IDs (P01), names (conc_time), categories (pk, sampling, dosing, covariates, exposure, pd, data), all (default) or none; comma separated --eda-skip eda: standard plots to leave out (IDs, names or categories, comma separated) --eda-tables eda: standard tables to make: IDs (T01), names, categories, all (default) or none --eda-yscale eda: y axis of the concentration plots: both (default: one linear, one log) | linear | log --eda-stat eda: central value of the summary plots: mean (default) | median | geomean --eda-error eda: error bars of the summary plots: sd (default) | sem | ci95 | iqr | p90 | range | none --eda-x eda: time axis of the concentration plots: time (after first dose, default) | tad | nominal --eda-exposure eda: also draw the observed-exposure plots and tables (P18-P20, T06, T07), off by default --time-unit eda: unit of time shown on the axes (default h) --pk-dvid eda: DVID value of the concentrations (default: the smallest DVID) --pd-dvid eda: DVID value of the PD response of the PK-PD plot (default: the next DVID) Plots (vpc, fit, autoinit, screen, nca): --plot-width plots: figure width in --plot-units (default 7 in) --plot-height plots: figure height in --plot-units (default 5 in) --plot-dpi plots: resolution in dots per inch (default 300) --plot-format plots: png (default) | svg | both This lists the options of `nlmx eda` only (460 options of other commands are not shown). `nlmx --help` lists every option of every command.