plot_convergence: Convergence plot

View source: R/plot_convergence.R

plot_convergenceR Documentation

Convergence plot

Description

Plots the value, at each printed out iteration, of the population parameters (THETA, OMEGA or SIGMA) during an estimation step. Fixed parameters are not plotted.

Usage

plot_convergence(
  run,
  estimation_number = NULL,
  parameters = NULL,
  auto_legend = TRUE
)

Arguments

run

pmxploit NONMEM run object.

estimation_number

integer. Number of the estimation step. Default is NULL, plotting all the steps.

parameters

character. Either one of "theta", "omega" or "sigma" or a character vector of population parameters names. Default is NULL plotting all population parameters.

auto_legend

logical. When TRUE (default), default pmxploit plotting options are applied (title, labels, axis...).

Value

A ggplot2 object.

Examples

EXAMPLERUN %>% plot_convergence()

EXAMPLERUN %>% plot_convergence(parameters = "theta")
EXAMPLERUN %>% plot_convergence(parameters = "omega")

EXAMPLERUN %>% plot_convergence(parameters = c(CL_pop = "THETA3"))

pnolain/pmxploit documentation built on Jan. 31, 2024, 1:16 p.m.