Plots the VPC for an IQRtteProject and joint models based on IQRnlmeProject

TTE projects are only supported for MONOLIX, so the MONOLIX generated output will be used for plotting. The function works for both TTE projects generated with IQRtteProject and for joint models that use the "event" output in the modelSpec.

plotVPC_IQRtteProject(projectPath, logX = FALSE, logY = FALSE, filename = NULL)

Arguments

projectPath

IQRtteProject object

logX

Logical indicating if log X axis

logY

Logical indicating if log Y axis

filename

Character string with path/filename for PDF generation

Value

If filename provided the figure is stored as PDF. If not provided a ggplot2 object is returned with the plotData as attribute