Metrics_table(modfit)

Hello,

I am trying to use metrics_table(modfit) function but I get the following error :

julia> metrics_table(modfit)
ERROR: UndefVarError: metrics_table not defined
Stacktrace:
 [1] top-level scope
   @ REPL[812]:1

This function used to work in Pumas v2.2. Did the syntax change for v2.3 ?

Thanks

@ahmed.salem did you call using PumasUtilities? This function is part of that and not part of Pumas. See below:

julia> using Pumas

help?> metrics_table
search:

Couldn't find metrics_table
Perhaps you meant probstable
  No documentation found.

  Binding metrics_table does not exist.

julia> using PumasUtilities

help?> metrics_table
search: metrics_table

  metrics_table(fitted_model; digits, sigdigits, latex)
  

  Presents the fitted_model metrics in a formatted DataFrame for use in reporting.

  Keywords
  ==========

    •  digits = 3 the number of significant digits to format number to.

    •  latex = false whether to display parameter names using $ for use in LaTeX tables.

1 Like

Ok thanks it function works now after recalling using PumasUtilities