View source: R/get-path-from-object.R
find_nonmem_model_file_path | R Documentation |
NONMEM recognizes two model file extensions, .ctl
and (less common) .mod
.
Look for these at .path
and if exactly one exists, return it. If both
exist, throw an error, because there is no way to know which should be used.
If neither exists and .check_exists = TRUE
, throw an error.
find_nonmem_model_file_path(.path, .check_exists = TRUE)
.path |
File path to a NONMEM model file (control stream) with either
|
.check_exists |
If |
The path to the model file, if it exists. If the model file does not
exist and .check_exists = FALSE
, a string that is .path
with the .ctl
extension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.