View source: R/fix_parameters_and_replace_model.R
fix_parameters_and_replace_model | R Documentation |
What the title says. A model file and a character vector of parameters to be fixed has to be provided
fix_parameters_and_replace_model(
dir_input_files,
input_model_files,
parameters_to_fix,
init_values_to_fix
)
dir_input_files |
character of length 1. Contains path to directory containing the input model files. Defaults to "". |
input_model_files |
character vector of length 1 or n equal to the number of input files. Contains name(s) of model(s) to be changed with some fixed parameters |
parameters_to_fix |
character of length 1 or p equal to the number of parameters to be fixed. Contains the names of the parameters to be fixed. |
init_values_to_fix |
character of length 1 or p equal to the number of parameters to be fixed. Contains the initial values of the parameters to be fixed. |
New .mod files created
#' \dontrun{fix_parameters_and_replace_model("../NONMEM/","run1.mod",c("KG","EMAX"))}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.