Documentation

13A.0 Complete custom command and option index

This page inventories the command forms and controls consumed by custom in the checked nlmx 4.5.0 executable. The shared parser displays options for other commands too; a visible global flag is not automatically a custom feature.

Command styles

Command forms

Purpose Command
One plot nlmx custom data.csv --geom point --x TIME --y DV
One table nlmx custom data.csv --table-kind summary --table-vars DV
Plot and table together Combine both sets of options in one command.
Reusable pack nlmx custom data.csv -c study.custom
Settings-supplied data nlmx custom -c study.custom
List geoms, tables, themes, palettes, and statistics nlmx custom --list-plots
Write annotated settings template nlmx custom --print-config study.custom
Installed help nlmx custom --help

Dataset precedence is positional DATASET, then --data, then [data] file. A CLI plot and CLI table are added to items in the settings file; they do not replace the existing [[plot]] and [[table]] blocks.

Reading and shared data preparation

Options Meaning
DATASET, --data FILE One delimited text file.
`--delimiter auto comma
--skip N Ignore physical lines at the top.
`--header true false, --no-header`
--mutate ASSIGNMENTS Sequential R-style derived/replaced columns.
--filter EXPR Keep matching rows.
--distinct COLUMNS Keep the first row per combination.
--sort COLUMNS Sort; prefix - for descending.
--head N Keep the first N rows after earlier steps.
--select COLUMNS Retain/reorder columns last.

Plot definition and aesthetics

--geom, --x, --y, --color, --fill, --shape, --size, --linetype, --group, and --label define layers and mappings. --plot-name, --title, --subtitle, --caption, --plot-alpha, and --line-width set identity and appearance.

The 19 geoms are point, jitter, line, path, step, smooth, boxplot, violin, bar, col, histogram, density, area, ecdf, qq, errorbar, pointrange, tile, and text. Aliases include scatter, box, hist, and heatmap.

Facets, axes, and coordinates

--facet-rows, --facet-cols, --facet, --facet-ncol, --facet-nrow, --facet-scales fixed|free|free_x|free_y, and --facet-labels value|both control panels. Axis controls are --x-title, --y-title, --x-scale, --y-scale, --xlim, --ylim, and --x-angle. Legend and reference controls are --legend-title, --legend-position, --hline, --vline, and --abline. --flip, --equal-axes, and --identity modify coordinates and comparison lines.

Plot statistics

--smooth-method loess|lm, --span, --smooth-level, and --no-smooth-se control smooths. --nbins and --binwidth control histograms. --y-stat count|density|percent and --position stack|dodge|fill|identity control distributions and bars. --summary-fun mean|median|sum|min|max|n|sd|geomean|q1|q3, --summary-error sd|se|ci95|iqr|range|none, and --jitter control summary and jitter layers.

Plot style and files

--theme classic|bw|minimal|gray, --palette, and --legend-position set shared style. Export controls are --plot-width, --plot-height, --plot-units in|cm|mm|px, --plot-dpi, --plot-base-size, --plot-format png|svg|both, --svg, --no-svg, and --no-plots. Shared plot title/legend suppression flags are version-sensitive; verify the installed help and prefer explicit item titles and legend positions in durable .custom files.

Table definition

--table-kind listing|summary|demographics|frequency|pivot|correlation, --table-name, --table-title, and --table-footnote identify a table. Content controls are --table-vars, --table-by, --table-stats, --table-rows, --table-columns, --table-value, --table-fun, --table-percent, --table-digits, --table-categorical, --table-continuous, --table-max-levels, and --table-method pearson|spearman. --table-total and --no-table-total control overall margins.

Statistics are n, nmiss, mean, sd, se, cv, geomean, geocv, median, min, max, sum, q1, q3, iqr, lcl95, ucl95, any pNN, mean_sd, mean_se, mean_ci, median_range, median_iqr, geomean_cv, and range.

Output and execution

-c/--config FILE.custom, -o/--output DIR, --overwrite, --threads, --digits, and --print-config control the run. --no-tables, --no-csv, --no-markdown, and --no-html control table output; at least one table format must remain when tables are requested. Logging uses --suppress-console 0|1, --log-file, --no-color, repeatable -v/--verbose, -q/--quiet, and --license.

Common mistakes

  • Assuming a CLI item replaces items in the file.
  • Using a fitting or EDA option merely because shared help displays it.
  • Switching off all table formats while requesting a table.
  • Treating --threads as a plotting aesthetic.

Checklist

  • Run --list-plots and save the installed version.
  • Start from --print-config for reusable packs.
  • Define the row grain before choosing data steps.
  • Verify conditional output files against requested formats.

Further reading

Continue with first use, settings precedence, and output provenance.