Helper to strip path and extension from model file to get only model identifier (i.e. the model file name without extension)
get_model_id(.mod)
# S3 method for character
get_model_id(.mod)
# S3 method for bbi_model
get_model_id(.mod)
Model to use, either a bbi_{.model_type}_model
or
bbi_{.model_type}_summary
, or a file path to a model.
Character scalar with only model identifier
get_model_id(character)
: Takes file path to model.
get_model_id(bbi_model)
: Takes bbi_{.model_type}_model
or bbi_{.model_type}_summary
object