getGeneralSettings
[Monolix] Get project general settings for chains
Get a summary of the settings related to chains for Monolix algorithms for the current project.
Associated settings are:
autoChains | (logical) | Automatically adjust the number of chains to have at least a minimum number of subjects. |
nbChains | (integer > 0) | Number of chains to be used if autoChains is set to FALSE . |
minIndivForChains | (integer > 0) | Minimum number of individuals. |
Usage
getGeneralSettings(...)
Arguments
- ...
[optional] (character) Name of the settings whose value should be returned. If no argument is provided, all the settings are returned.
Value
A list with each setting name mapped to its current value.
See also
Examples
initializeLixoftConnectors("monolix")
loadProject(file.path(getDemoPath(), "1.creating_and_using_models", "1.1.libraries_of_models", "theophylline_project.mlxtran"))
# retrieve a list of all chain settings
getGeneralSettings()
#> $autochains
#> [1] TRUE
#>
#> $nbchains
#> [1] 1
#>
#> $minindivforchains
#> [1] 50
#>
# retrieve only specified settings
getGeneralSettings("nbChains", "autoChains")
#> $autochains
#> [1] TRUE
#>
#> $nbchains
#> [1] 1
#>