View source: R/copy-model-from.R
copy_model_from_impl | R Documentation |
Private implementation function called by copy_model_from()
dispatches.
Create new .yaml and other necessary files based on a previous model.
Used for iterating on model development. Also fills in necessary YAML fields
for using run_log()
later.
copy_model_from_impl(
.parent_mod,
.new_model,
.description = NULL,
.based_on_additional = NULL,
.add_tags = NULL,
.star = NULL,
.inherit_tags = FALSE,
.update_model_file = TRUE,
.overwrite = FALSE,
setup_fn = NULL
)
.parent_mod |
S3 object of class |
.new_model |
Path to the new model, either absolute or relative to the
path to |
.description |
Character scalar description of new model run. This will
be stored in the yaml (and can be viewed later in |
.based_on_additional |
Character vector of path(s) to other models that
this model was "based on." These are used to reconstuct model developement
and ancestry. Paths must be relative to |
.add_tags |
Character vector with any new tags(s) to be added to
|
.star |
Boolean, marks model to indicate special interest level. |
.inherit_tags |
If |
.update_model_file |
Only relevant for NONMEM models. If |
.overwrite |
If |
setup_fn |
A function to call (with no arguments) before creating the
model with |
S3 object with the same class as .parent_mod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.