p.scaled.typical.curves.landmarks {vachette}R Documentation

Plot vachette Transformed Typical Curves with Landmarks

Description

This function generates a ggplot2 visualization of the vachette transformed typical curves and their corresponding landmarks for a given pharmacometric model. The plot highlights the segments of the reference and query curves, with a special emphasis on the landmark positions.

Usage

p.scaled.typical.curves.landmarks(vachette_data)

Arguments

vachette_data

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

Details

The function plots the typical curves along with their segments and marking the landmarks. If the x-axis is logarithmic, it adjusts the axis label accordingly.

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.

Value

A ggplot2 object representing the vachette transformed typical curves with their landmarks. The plot displays different segments of the curves in different color, and landmarks marked with black crosses.


[Package vachette version 0.40.0 Index]