data <- pmplots_data_obs()
npde_panel(data)
Displays of exploratory or diagnostic plots have several figures sharing a common theme arranged on a single page. These displays tend to have fixed composition and arrangement, with some customization allowed. If you want a totally custom display, it is best to create your own from base pmplots functions, arranging as you like with the patchwork package.
Displays can include ETA, NPDE or CWRES based plots.
Use npde_panel() to create a standardized panel of common NPDE-based diagnostics
You can label the panels with the plot_annotation() function from the patchwork package
This display includes just a subset of the diagnostics which are scatter plots
This display is the complement of the scatter plots
You can enter a mix of categorical and continuous covariates: here, WT and SCR are continuous covariates and RF and CPc are categorical
There are a equivalent set of displays which show CWRES rather than NPDE
These displays are created with eta_covariate(). Since there are typically several ETAs to look at, this function returns a list of arranged plots
For ETA diagnostics, we can plot versus a mix of categorical and continuous covariates
By default, the plots are collected by the ETA
Use the transpose argument to collect by the covariate
[1] "WT" "AAG" "STUDYc" "RF"
You can request one of the panel displays as a list of the component plots. In general, you can call the function with _list suffix. For example, x here is a named list of plots
Similar for the covariate plots, but the result will be a list of lists
[1] "ETA1" "ETA2"
[1] "WT" "AAG" "STUDYc" "RF"

Plots can be arrranged in a grid with pm_grid()
Or, use pm_with() to arrange them using patchwork syntax
Use rot_xy() to rotate axis tick marks on a plot. There are methods for gg objects, patchwork objects, and lists of these objects.