Learn R Programming

nlmixr2auto (version 1.0.0)

spaceConfig: Get search space configuration

Description

Retrieve the configuration for a specified search space.

Usage

spaceConfig(search.space = c("ivbase", "oralbase"))

Value

A list with four elements:

  • route: Administration route ("bolus", "oral", or NULL).

  • params: Character vector of parameter names expected in the string vector.

  • param_dependencies: Named list of functions that compute dependent parameters.

  • fixed_params: Named list of fixed parameter values.

Arguments

search.space

Character, one of "ivbase" or "oralbase". Default is "ivbase".

Author

Zhonghui Huang

Details

Pre-defined search spaces:

  • "ivbase": IV bolus model, 11 parameters, supports 1 to 3 compartments.

  • "oralbase": Oral model, 12 parameters (adds eta.ka), supports 1 to 3 compartments.

For "ivbase" and "oralbase", param_dependencies handle the relationship between Michaelis-Menten elimination (mm) and the associated variability parameters (eta.vmax, eta.cl).

See Also

mod.run for the main function that uses these configurations. parseParams for parameter parsing using configurations.

Examples

Run this code
# Get IV base configuration
config <- spaceConfig("ivbase")
config$params

# Get oral base configuration
config <- spaceConfig("oralbase")
config$params

Run the code above in your browser using DataLab