Model management

as_model()

Convert object to bbi_{.model_type}_model

copy_model_from()

Create new model by copying existing model

new_model()

Create new model object

read_model()

Creates a model object from a YAML model file

reconcile_yaml() check_yaml_in_sync()

Verify YAML file integrity

get_model_directory() set_model_directory()

Get or set global model directory option

Model submission

submit_model()

Submit a model to be run

submit_models()

Submit models to be run in batch

print_nonmem_args()

Print valid .bbi_args

Model summary

config_log() add_config()

Parse babylon configs to log

apply_indices() block()

Add parameter indices to a label tibble

model_summary()

Summarize model outputs

param_estimates()

Parses parameter estimates table

param_labels()

Extract parameter labels for report tables, etc.

run_log()

Create tibble summarizing all model runs

Model object interactions

modify_model_field() add_tags() replace_tags() add_decisions() replace_decisions() add_based_on() replace_based_on() replace_description() add_bbi_args() replace_bbi_args()

Modify field in model object

get_based_on() get_model_ancestry()

Get based_on from bbi object

get_model_id()

Get model identifier

get_path_from_object() get_model_path() get_output_dir() get_yaml_path()

Get path from bbi object

Babylon configuration

bbi_current_release()

Get version number of babylon current release

bbi_help()

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

bbi_init()

Initialize babylon

bbi_version()

Get version number of babylon installed on system

use_bbi()

Installs most current release of bbi

Assorted helpers

check_file() tail_output() tail_lst()

Check an output file

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() yml_ext()

Change file extension

plot_nonmem_table_df() plot_grd() plot_ext()

Plot NONMEM output files

suppressSpecificWarning()

Suppress a warning that matches .regexpr