View source: R/get-path-from-object.R
get_data_path | R Documentation |
Helper to extract the path to the input data from a bbi object.
get_data_path(.bbi_object, .check_exists = TRUE, ...)
.bbi_object |
The object to query. Could be
a |
.check_exists |
If |
... |
Arguments passed through to methods. (Currently none, but may have some modifier arguments other model types in the future.) |
Absolute path to input data file
NONMEM
model extensionsBefore executing the model, bbi
first copies the control stream file to a
subdirectory. Whether a relative path to the data file in the control stream
is adjusted for this change in directory depends on the control stream's file
extension:
For a model with a .mod
extension, bbi
automatically adjusts a
relative data path to make it relative to the execution directory,
following the behavior of PsN
.
For a model with a .ctl
extension, bbi
does not adjust the data
path. A relative data path in the control stream must be specified
one level deeper (i.e. with an additional ../
) to account for the
model being executed in a subdirectory.
get_model_id()
get_path_from_object()
build_path_from_model()
Other NONMEM
model extensions:
submit_model()
,
submit_models()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.