Read a NONMEM model from a .mod or .ctl file
Arguments
- path
path to a .mod or .ctl file.
Value
A hyperion_nonmem_model S3 object with attributes:
filename: the model stem (e.g. "run001")
model_source: path to the source file, relative to the pharos config dir
run_status: "run", "running", or "not_run" determined from output files on disk
Examples
if (FALSE) { # \dontrun{
read_model("model/nonmem/run001.mod")
} # }