ggPMX1.3.2 package

'ggplot2' Based Tool to Facilitate Diagnostic Plots for NLME Models

abbrev

Give the whole abbreviation definition

add_draft

Add draft layer annotation

check_shrink

Performs checks of names in shrink list

distrib

creates a graphic distribution object

eta_cov_plot

Eta Covariates plots

eta_cov

This creates an ETA covariance matrix which can be used to define the ...

eta_distribution_plot

Eta distribution plots

eta_pairs

This creates an eta correlation which defines the relationship between...

eval_sym_parent_env

Try to evaluate a symbol in the parent frame (on error return the symb...

get_abbrev

Get abbreviation definition by key

get_cats

Get category covariates

get_conts

Get continuous covariates

get_covariates

Get covariates variables

get_data

Get controller data set

get_occ

Get controller occasional covariates

get_plot_config

Get the plot config by name

get_plot

Get plot object

get_strats

Get extra stratification variables

getPmxOption

Get ggPMX Option

ggPMX

ggPMX: A ggplot2 toolbox for Nonlinear Mixed-Effect Model graphical

gtable_remove_grobs

Remove named elements from gtable

individual

This function can be used to obtain individual prediction and compare ...

input_finegrid

Merge input and fingrid data sets

is.pmx_gpar

Check if an object is a pmx_gpar class

l_left_join

Merge 2 lists

load_config

Obtain the data source config

load_data_set

Load data set

load_source

Load all/or some source data set

n_pages

Determine the number of pages in a paginated facet plot

param_table

Creates parameter kable

parse_mlxtran

Parse MONOLIX mlxtran file

pk_occ

Creates pmx controller using monlix data having Occasional variable

pk_pd

Creates pkpd pmx controller using package internal data

plot_names

Get plot names

plot_pmx.distrib

Plot EBE distribution

plot_pmx.eta_cov

This plots an ETA covariance matrix which can be used to define the co...

plot_pmx.eta_pairs

Plot random effect correlation plot

plot_pmx.individual

This function can be used to plot individual prediction and compare wi...

plot_pmx.pmx_dens

This function plots EBE versus covariates using qq plots

plot_pmx.pmx_gpar

The ggPMX base plot function

plot_pmx.pmx_param_history

S3 method for plots of class pmx_param_history

plot_pmx.pmx_qq

This function plot EBE versus covariates using qq plots

plot_pmx

This is a generic plot method that produces all plots by default descr...

plot_pmx.residual

This function plots residual for each observed value by finding the di...

plot_shrink

Plot shrink in eta matric

plots

Get plots description

pmx_bloq

Creates BLOQ object attributes

pmx_combine_tables

Combine tables

pmx_comp_shrink

Compute Shrinkage

pmx_config

This function can be used to define the pmx configuration used in plot...

pmx_copy

Creates a deep copy of the controller

pmx_cov

Select/Map covariates using human labels

pmx_dens

Creates a density plot object

pmx_endpoint

Creates pmx endpoint object

pmx_file_path

Generate clean file paths

pmx_filter

filter data in a pmx controller

pmx_get_configs

Get List of built-in configurations

pmx_get_extension

Get file extension

pmx_gpar

Handling pmx Graphical parameters

pmx_index_table

Index table columns

pmx_is.nm.table.list

Test for nm_table_list class

pmx_list_nm_tables_manual

Creates an nm_table_list from manually defined table name patterns

pmx_list_nm_tables

List NONMEM output tables

pmx_make_extension

Generate extension string

pmx_manual_nm_import

Manually define nonmem tables to be imported

pmx_merge_firstonly

Merge firstonly table with full length tables

pmx_msg

Message function

pmx_nlmixr

Creates pmx controller from an nlimxr fit object

pmx_nm

Creates pmx controller from NONMEM model outputs

pmx_parse_nm_files

Parse NONMEM output files

pmx_plot_cats

Generic pmx stratified plot

pmx_plot_eta_matrix

Eta matrix plot

pmx_plot_individual

Individual plot

pmx_plot_iwres_dens

IWRES density plot

pmx_plot_saem_convergence

SAEM Convergence Plot

pmx_plot_vpc

VPC plot

pmx_plot

Generic pmx plot

pmx_qq_plot

Quantile-quantile plots

pmx_qq

This function creates a qq plot object

pmx_raw_to_tibble

Convert raw strings to tibble

pmx_read_args

Define data import arguments

pmx_read_funs

Define data import functions

pmx_read_nm_files

NONMEM output file import function

pmx_read_nm_model

NONMEM model file parser

pmx_read_nm_tables

NONMEM output table import function

pmx_register_plot

Register plot (Jun2025, Alex: I believe it doesn't work at all)

pmx_report_template

Gets build-in report templates

pmx_report

Generates ggpmX report from a pre-defined template

pmx_settings

Create controller global settings

pmx_shrink

Create shrinkage parameter object

pmx_sim

Create simulation object

pmx_theme

Define ggPMX theme

pmx_tidyr_new_interface

Check tidyr version

pmx_update_extension

Update file extension

pmx_update

Update plot object

pmx_vpc_bin

Creates vpc bins

pmx_vpc_ci

Sets vpc confidence interval layer

pmx_vpc_obs

Sets vpc observation layer

pmx_vpc_pi

Sets vpc percentile layer

pmx_vpc_rug

Sets vpc rug layer

pmx_vpc

Creates vpc object

pmx

Create a pmx object

pmxOptions

This function can be used to set ggPMX options

print.abbreviation

S3 print abbreviation

print.configs

This function can be used to print configuration of the defined object...

print.pmx_gpar

Print pmx_gpar object

print.pmxClass

Print pmxClass object

print.pmxConfig

S3 method print pmxConfig object

read_extfile

Reads .ext files generated by NONMEM

read_input

Read Modelling input data

read_mlx_ind_est

Read MONOLIX individual parameters

read_mlx_par_est

Read MONOLIX parameter estimation file

read_mlx_pred

Read MONOLIX model predictions

read_mlx_saem_conv

Read MONOLIX SAEM convergence file

reexports

Objects exported from other packages

residual_scatter

Scatter residual plots

residual

This function create a residual for each observed value and also gener...

set_abbrev

update or add a new abbreviation

set_data

Set a controller data set

set_plot

Create a new plot of the desired type

sub-.pmx_gpar

Method for subsetting "pmx_gpar" objects

theophylline

Creates pmx controller using theophylline data

wrap_formula

merge facets formula with new formula

At Novartis, we aimed at standardizing the set of diagnostic plots used for modeling activities in order to reduce the overall effort required for generating such plots. For this, we developed a guidance that proposes an adequate set of diagnostics and a toolbox, called 'ggPMX' to execute them. 'ggPMX' is a toolbox that can generate all diagnostic plots at a quality sufficient for publication and submissions using few lines of code. This package focuses on plots recommended by ISoP <doi:10.1002/psp4.12161>. While not required, you can get/install the 'R' 'lixoftConnectors' package in the 'Monolix' installation, as described at the following url <https://monolixsuite.slp-software.com/r-functions/2024R1/installation-and-initialization>. When 'lixoftConnectors' is available, 'R' can use 'Monolix' directly to create the required Chart Data instead of exporting it from the 'Monolix' gui.

  • Maintainer: Aleksandr Pogodaev
  • License: GPL-2
  • Last published: 2025-09-05