View source: R/iterPrintControl.R
| iterPrintControl | R Documentation |
Bundles the options controlling the iteration progress output emitted by 'nlmixr2' estimators. Pass as the 'print' argument to any '*Control()' function; the scalar form ('print = N') still works and is wrapped into an 'iterPrintControl()' internally.
iterPrintControl(
every = 1L,
ncol = NULL,
headerEvery = NULL,
useColor = NULL,
simple = FALSE
)
every |
Integer. Print one iteration row every 'every' parameter evaluations; '0' suppresses output. Defaults to '1L'. |
ncol |
Integer or 'NULL'. Parameter columns per row before wrapping. 'NULL' (default) uses 'floor((getOption("width") - 23) / 12)'. |
headerEvery |
Integer or 'NULL'. Re-emit the column header every 'headerEvery' parameter-print events; '0' prints it once at fit start. 'NULL' (default) uses '10L'. |
useColor |
Logical (or 'NULL') emit ANSI bold/color escapes in the iteration print. 'NULL' (default) defers to [crayon::has_color()]. |
simple |
Logical. When 'TRUE', print a single row per iteration, suppressing the unscaled ('U') / back-transformed ('X') rows. Defaults to 'FALSE'. |
A list with the validated, defaulted iteration-print options. Has class '"iterPrintControl"' so the outer '*Control()' functions can distinguish a pre-built object from a scalar 'print = N'.
Bill Denney, Matthew L. Fidler
iterPrintControl()
iterPrintControl(every = 5, headerEvery = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.