View source: R/functions_wrapper.R
bump_model_number | R Documentation |
If the model name ends in a number increase it
If path is set increase the number until no file exists with the same name in path. If model name does not end in a number do nothing.
bump_model_number(model, path = NULL)
model |
(Model) Pharmpy model object |
path |
(str (optional)) Default is to not look for files. |
(Model) Pharmpy model object
## Not run:
model <- load_example_model("pheno")
model <- model$replace(name="run2")
model <- bump_model_number(model)
model$name
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.