Model management

new_model()

Create new model object

read_model()

Creates a model object from a YAML model file

copy_model_from()

Create new model by copying existing model

model_diff()

Compare model files between models

tags_diff() add_tags_diff()

Compare tags between models

check_up_to_date()

Check model and data up to date with outputs

Model submission

submit_model()

Submit a model to be run

submit_models()

Submit models to be run in batch

print_bbi_args()

Print valid .bbi_args

Model summary

model_summary()

Summarize model outputs

model_summaries()

Summarize multiple models in batch

param_estimates()

Parses parameter estimates table

run_log()

Create tibble summarizing all model runs

summary_log() add_summary()

Create a tibble from model_summaries() data

config_log() add_config()

Parse bbi configs to log

as_summary_list()

Convert object to bbi_summary_list

param_labels()

Extract parameter labels for report tables, etc.

apply_indices() block()

Add parameter indices to a label tibble

Model object interactions

add_tags() replace_tag() replace_all_tags() remove_tags()

Modify tags on a model object

add_notes() replace_note() replace_all_notes() remove_notes()

Modify notes on a model object

add_based_on() replace_all_based_on() remove_based_on()

Modify based_on field in a model object

add_description() replace_description()

Modify description on a model object

add_bbi_args() replace_all_bbi_args()

Modify bbi_args on a model object

build_path_from_model()

Build path to output file

get_based_on() get_model_ancestry()

Get based_on from bbi object

get_model_id()

Get model identifier

get_model_path() get_output_dir() get_yaml_path() get_config_path()

Get path from bbi object

get_data_path()

Get path to data file

print(<bbi_process>) print(<bbi_nonmem_model>) print(<bbi_nonmem_summary>)

Print methods for bbr objects

bbi configuration

use_bbi()

Installs most current release of bbi

bbi_init()

Initialize bbi

bbi_version()

Get version of installed bbi

bbi_current_release()

Get version number of bbi current release

bbi_help()

Executes (bbi --help) and prints the output string

Assorted helpers

check_file() tail_output() tail_lst()

Check an output file

collapse_to_string()

Collapse list column to a character column

check_nonmem_table_output() check_grd() check_ext()

Check NONMEM output files

check_output_dir()

Check output directory

check_status_code()

Checks status code from processx process

format_cmd_args()

Formats command line args from a named list to a string as it would be passed on the command line

new_ext() ctl_ext() mod_ext() yaml_ext()

Change file extension

plot_nonmem_table_df() plot_grd() plot_ext()

Plot NONMEM output files

reconcile_yaml() check_yaml_in_sync()

Verify YAML file integrity

suppressSpecificWarning()

Suppress a warning that matches .regexpr