Plotting the VPC data using direct scripts
There are direct scripts available to plot VPC results in a few themes.
Select the vpc output folder, e.g., vpc_run1.
Select the Scripts tab on the right.
Under NONMEM, expand PsN.
There are two options: Plot_vpc_results.R and Plot_vpc_results_bins.R.
Expand VPC.
There are four options: vpc_ggplot_bins_style1.R, vpc_ggplot_bins_style2.R, vpc_ggplot_smooth_style1.R, and vpc_ggplot_smooth_style2.R.
Expand Xpose4 > VPC.
There are four options: basic.R, basic_logY.R, style_1.R, and style_1_nodata.R.
Select the script(s) and click in the Scripts tab toolbar to run them directly.
Or
Right-click a selected script and choose Open script in RStudio from the menu to edit.