Print the full optimizer iteration history for a ferx fit

Description

Displays (or returns) the complete per-iteration table from the optimizer trace CSV. Unlike the “Iteration history” section in [ferx_runlog](ferx_runlog.qmd), this function never truncates: every iteration row is shown without omission.

Usage

ferx_runlog_iters(fit, verbose = TRUE)

Arguments

  • fit: A ferx_fit object returned by [ferx_fit](ferx_fit.qmd) with optimizer_trace = TRUE, or a path to a trace CSV file.
  • verbose: Logical. When TRUE (the default) the table is printed. When FALSE it is returned invisibly as a character string.

Seealso

[ferx_runlog](ferx_runlog.qmd), [ferx_trace](ferx_trace.qmd), [ferx_plot_trace](ferx_plot_trace.qmd)Other diagnostics: [check_diagnostics](check_diagnostics.qmd)(), [ferx_cor_matrix](ferx_cor_matrix.qmd)(), [ferx_cov_screen](ferx_cov_screen.qmd)(), [ferx_estimates](ferx_estimates.qmd)(), [ferx_eta_cov](ferx_eta_cov.qmd)(), [ferx_plot_trace](ferx_plot_trace.qmd)(), [ferx_trace](ferx_trace.qmd)(), [ferx_warnings](ferx_warnings.qmd)(), [summary.ferx_fit](summary.ferx_fit.qmd)()

Concept

diagnostics

Value

A character string (invisibly when verbose = TRUE).

Examples

ex  <- ferx_example("warfarin")
fit <- ferx_fit(ex$model, ex$data, method = "focei",
                covariance = FALSE, optimizer_trace = TRUE)
ferx_runlog_iters(fit)