View source: R/get-path-from-object.R
get_model_id | R Documentation |
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 class 'character'
get_model_id(.mod)
## S3 method for class 'bbi_model'
get_model_id(.mod)
.mod |
Model to use, either a |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.