unfix_parameters_and_replace_model: Unfix parameters and overwrite the model with the updated...

View source: R/unfix_parameters_and_replace_model.R

unfix_parameters_and_replace_modelR Documentation

Unfix parameters and overwrite the model with the updated unfixed parameters

Description

What the title says. A model file and a character vector of parameters to be unfixed has to be provided

Usage

unfix_parameters_and_replace_model(
  dir_input_files,
  input_model_files,
  parameters_to_unfix
)

Arguments

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 unfixed parameters

parameters_to_unfix

character of length 1 or p equal to the number of parameters to be unfixed. Contains the names of the parameters to be unfixed.

Value

New .mod files created

Examples

#' \dontrun{unfix_parameters_and_replace_model("../NONMEM/","run1.mod",c("KG","EMAX"))}

Vincent-AC/vacactions documentation built on May 17, 2022, 4:10 p.m.