create_symbol {pharmr} | R Documentation |
create_symbol
Description
Create a new unique variable symbol given a model
Usage
create_symbol(model, stem, force_numbering = FALSE)
Arguments
model |
(Model) Pharmpy model object |
stem |
(str) First part of the new variable name |
force_numbering |
(logical) Forces addition of number to name even if variable does not exist, e.g. COVEFF → COVEFF1 |
Value
(Symbol) Created symbol with unique name
Examples
## Not run:
model <- load_example_model("pheno")
create_symbol(model, "TEMP")
create_symbol(model, "TEMP", force_numbering=TRUE)
create_symbol(model, "CL")
## End(Not run)
[Package pharmr version 1.0.1 Index]