Learn R Programming

pmxNODE (version 0.1.0)

mlx_model_initializer: Internal: Monolix file initializer

Description

Initializes a .mlxtran file based on a converted model file, data, and initial values

Usage

mlx_model_initializer(
  model_name,
  model_file,
  data_file,
  header_types,
  parm_names,
  parm_inis,
  theta_names,
  theta_inis,
  pop = FALSE,
  omega_inis = NULL,
  pre_fixef = NULL,
  obs_types = NULL,
  mapping = NULL
)

Value

No return value, saving a Monolix .mlxtran file.

Arguments

model_name

(string) (Path/)Name of generated .mlxtran file

model_file

(string) (Path/)Name of converted structural model

data_file

(string) (Path/)Name of data file to be fitted

header_types

(vector) Vector of strings describing column types of data

parm_names

(list) List of names of non-NN parameters in the model

parm_inis

(list) List of initial values of non-NN parameters

theta_names

(list) List of names of NN parameters in the model, i.e., weights and biases

theta_inis

(list) List of initial values of NN parameters

pop

(boolean) If only population fit without inter-individual variability (TRUE) or individual fits with inter-individual variability (FALSE) should be used

omega_inis

(numeric) Initial standard deviation of random effects on NN parameters; standard 0.1 from nn_converter_mlx

pre_fixef

(named vector) Named vector of all initial values to be used for NN and non-NN parameters

obs_types

(list) List of types of observations, e.g., “continuous”; only required if non-continuous observations

mapping

(list) List of mapping between model outputs and observation IDs

Author

Dominic Bräm

Details

If no specific file name was given to nn_converter_mlx through the mlx_name argumen, the file is standardized to name of model file_mlx_file_pop/ind where pop if pop=TRUE or ind if pop=FALSE in nn_converter_mlx.