Skip to contents

Extracts the name of a bi model (first line of the .bi file).

Usage

# S3 method for bi_model
get_name(x, ...)

Arguments

x

a bi_model object

...

ignored

Value

a character string, the name of the model

See also

Examples

model_file_name <- system.file(package = "rbi", "PZ.bi")
PZ <- bi_model(filename = model_file_name)
get_name(PZ)
#> [1] "PZ"