model_summaries.Rd
Run multiple model_summary()
calls in batch.
model_summaries( .mods, .bbi_args = NULL, .fail_flags = NULL, ..., .dry_run = FALSE ) # S3 method for list model_summaries( .mods, .bbi_args = NULL, .fail_flags = NULL, ..., .dry_run = FALSE ) # S3 method for bbi_run_log_df model_summaries( .mods, .bbi_args = NULL, .fail_flags = NULL, ..., .dry_run = FALSE )
.mods | The model objects to summarize. Could be
a |
---|---|
.bbi_args | A named list specifying arguments to pass to babylon formatted like |
.fail_flags | Same as |
... | args passed through to |
.dry_run | show what the command would be without actually running it |
All dispatches will return a list of bbi_{.model_type}_summary
objects.
The summary call will error if it does not find certain files in the output folder. However, you can override this behavior with the following file-specific flags:
no_ext_file
no_grd_file
no_shk_file
If some of your runs are using an estimation method that does not produce any of the following files,
or they are missing for some other legitimate reason, pass the appropriate flags through the .fail_flags
argument.
Additionally, if you have renamed your .ext
file, you will need to pass the new name through, to .bbi_args
or .fail_flags
like so:
model_summaries(..., .bbi_args = list(ext_file = "whatever_you_named_it"))
list
: Summarize a list of bbi_{.model_type}_model
objects.
bbi_run_log_df
: Takes a bbi_run_log_df
tibble and summarizes all models in it.