MonolixSuite in R
Breadcrumbs

getMCMCSettings

[Monolix] Get settings for transition kernels of the MCMC algorithm

Get the MCMC algorithm settings of the current project.
Associated settings are:

strategy

(vector of length 3)

Number of calls for each one of the three MCMC kernels.

acceptanceRatio

(double)

Target acceptance ratio.

Usage

R
getMCMCSettings(...)

Arguments

... [optional] (character) Names 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

setMCMCSettings

Examples

R
initializeLixoftConnectors("monolix")
loadProject(file.path(getDemoPath(), "1.creating_and_using_models", "1.1.libraries_of_models", "theophylline_project.mlxtran"))

getMCMCSettings() # retrieve a list of all the MCMC settings
#> $acceptanceratio
#> [1] 0.3
#> 
#> $strategy
#> [1] 2 2 2
#> 
getMCMCSettings("strategy") # retrieve only the strategy setting
#> $strategy
#> [1] 2 2 2
#>