pk_plot: Plot PK curves

View source: R/pk_plot.R

pk_plotR Documentation

Plot PK curves

Description

pk_plot() creates spaghetti PK plots with connected data points for each PK curve.

Usage

pk_plot(data, ind = FALSE, nrow = 4, ncol = 4, id = NULL, max_tad = 26)

Arguments

data

A data frame or data frame extension with ID, EVID, DV, and TIME or TAD columns.

ind

Whether to create separate plots for each ID.

nrow

Number of rows per page of plots when ind = TRUE.

ncol

Number of columns per page of plots when ind = TRUE.

id

Optional. A vector of IDs to plot, instead of plotting every ID.

max_tad

The largest allowed value of TAD to be plotted. Defaults to 26.

Value

No return value, called for side effects

Author(s)

Sandy Floren


saviclab/savictools documentation built on Dec. 7, 2023, 11:56 p.m.