MonolixSuite in R
Auto Light Dark
Auto Light Dark

plotSaem

[Monolix] Plot SAEM convergence

Plot iterations and convergence for the SAEM algorithm (population parameters estimation).

Usage

R
plotSaem(settings = list())

Arguments

settings

a list of optional settings:

  • grid (logical) add (TRUE) / remove (FALSE) plot grid (default TRUE).

  • ncol (integer) number of columns when facet = TRUE (default 4).

  • fontsize (integer) Plot text font size.

Value

A TableGrob object if multiple plots (output of grid.arrange)

Examples

R
  initializeLixoftConnectors(software = "monolix")
  project <- file.path(getDemoPath(), "1.creating_and_using_models",
                       "1.1.libraries_of_models", "theophylline_project.mlxtran")
  loadProject(project)

  runPopulationParameterEstimation()
  
  plotSaem()

plotSaem output showing SAEM iterations for ka_pop, V_pop, Cl_pop, omega_ka, omega_V, omega_Cl, a, b and the convergenceIndicator over about 370 iterations. A red vertical line near iteration 220 marks the end of the exploratory phase. All parameters stabilize, for example ka_pop near 1.53, V_pop near 0.455, Cl_pop near 0.04, and the convergence indicator near 275.
R

#> TableGrob (1 x 1) "arrange": 1 grobs
#>   z     cells    name            grob
#> 1 1 (1-1,1-1) arrange gtable[arrange]
  

Last updated: