# nlmx VPC configuration (plain text, TOML syntax, .vpc extension) # # Every key is optional; the values shown are the defaults. Command-line # options override the file. Relative paths resolve against this file's # folder. Use it with: nlmx vpc -c nlmx.vpc [inputs] # control_stream = "run101.ctl" # or give it on the command line # results_dir = "xyz" # folder with the estimation outputs (.ext, .cov); # # .ext there, or its only .ext file # ext = "run101.ext" # final estimates, as a file (default: results_dir, # # then .ext beside the control stream, # # then _fit/.ext) # data = "../data/analysis.csv" # default: $DATA of the control stream [vpc] type = "pcvpc" # vpc | pcvpc | pvcvpc | npc samples = 1000 # simulated replicates of the dataset seed = 20240611 idv = "TIME" # x axis: a data column, TAD (computed if not a column) or PRED # filter = "STU > 3001" # subjects to simulate and plot, in R syntax, e.g. # # "GROUP == 1 & WT < 70 | HT > 154", "DOSE %in% c(100, 200)" stratify_on = [] # data columns, e.g. ["SEX"] or ["DOSE", "SEX"] stratify_groups = 2 # quantile groups for a continuous stratification column max_categories = 10 # a column with more distinct values is treated as continuous pi = [5, 50, 95] # percentiles of the data shown (lower, median, upper) ci = 95 # confidence level (%) of the simulated-percentile bands # lloq = 0.05 # number or data column; enables censoring and the BLQ panel # blq_flag = "BLQ" # data column; non-zero marks an observed value as BLQ x_scale = "linear" # linear | log: semi-log x axis on the plots (x ≤ 0 not drawn) y_scale = "linear" # linear | log: semi-log y axis (log_y = true is the same) show_points = true # draw the observations behind the bands show_outside = true # ring the observed percentiles outside their simulated CI legend_position = "bottom" # bottom | top # x_title = "Time after dose (h)" # x-axis title (default: the idv name) # y_title = "Concentration (mg/L)" # y-axis title of the VPC (default: DV, or # # prediction-corrected DV for a pcVPC) caption = true # grey caption: check, observations and date of the plot [prediction_correction] log_scale = false # DV on log scale: additive correction pcY = Y + PREDbin - PRED lower_bound = 0 # lb in pcY = lb + (Y - lb)(PREDbin - lb)/(PRED - lb) variability_correction = false # pvcVPC (same as type = "pvcvpc") [binning] method = "auto" # auto | count | width | edges | nominal # bins = 8 # number of bins for count / width # edges = [0, 1, 2, 4, 8, 12, 24] # bin boundaries for method = "edges" max_bins = 20 # upper limit for automatic binning min_obs = 10 # sparser bins are merged with a neighbour (not for edges) [npc] pi = [0, 20, 40, 50, 60, 80, 90, 95] # prediction intervals (%) checked by the NPC [uncertainty] enabled = false # draw THETA/OMEGA/SIGMA for every replicate # cov = "run101.cov" # covariance matrix (default: .cov beside the estimates) # parameter_file = "bootstrap_results.csv" # parameter sets instead of the .cov # # (columns THETA1.., OMEGA(1,1).., SIGMA(1,1)..; one row per set) max_attempts = 100 # redraws when a draw leaves the bounds or is not positive definite [output] # directory = "run101_vpc" # default: /_vpc html = true # vpc_report.html with every plot and table svg = true # SVG files: report charts in svg/ (and, with [plots] # # format svg or both, figures in plots/svg/); false = none write_simulations = false # vpc_simulations.csv: every simulated observation (large) [plots] # Publication plots in /plots (PNG by default), drawn in the style of # ggplot2's theme_classic(). Any --plot-* option also turns them on. enabled = false width = 7 # figure size, in `units` height = 5 units = "in" # in | cm | mm | px dpi = 300 # resolution of the PNG (written into the file) base_size = 11 # base font size in points (titles and labels scale with it) format = "png" # png | svg | both (svg: vector files of the same plots) title = true # chart title (often left to the figure caption) legend = true # draw the legend (where: [vpc] legend_position) [plots.colors] # any colour as #RRGGBB, #RGB or a name such as "black" median = "#EB6834" # band of the simulated median outer = "#2A78D6" # bands of the outer percentiles observed = "#000000" # observed percentile lines points = "#9E9E9E" # observations outside = "#D62728" # markers of percentiles outside their band reference = "#4D4D4D" # LLOQ and expected-value lines