model_paste0 | R Documentation |
model_paste0()
can take either an integer, the name of a model as a string,
or a complete file name and returns a model name with the desired file
extension.
model_paste0(runno, ext = "")
runno |
Either a NONMEM model name (with or without file extension), or the number of a NONMEM run as an integer. |
ext |
Optional. A file extension (e.g. ".lst") to append to the model name. |
A string corresponding to the name of a NONMEM file.
Sandy Floren
# Stripping a NONMEM file name to just the model name
model_paste0("run46.mod")
# Constructing a run name from a run number
model_paste0(46)
# Changing the file extension
model_paste0("run46.mod", ext = ".lst")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.