This function generates a ggplot2 visualization of the vachette transformed typical curves for a given pharmacometric model. It distinguishes between reference curves and query curves, showing how the curves transform.

p.scaled.typical.curves(vachette_data)

Arguments

vachette_data

An object of class vachette_data, which contains the necessary data for plotting.

Value

A ggplot2 object representing the vachette transformed typical curves. The plot shows both the reference and query curves, and the curves after the vachette transformation.

Details

The function creates a plot that distinguishes between reference curves (in red) and query curves (in blue). The dashed lines represent the curves after the vachette transformation.

The plot's title includes the model name, and the caption provides details about the reference covariate(s) used. The x-axis range is dynamically set based on the minimum and maximum x values, before and after scaling.