pk_plot | R Documentation |
pk_plot()
creates spaghetti PK plots with connected data points for each
PK curve.
pk_plot(data, ind = FALSE, nrow = 4, ncol = 4, id = NULL, max_tad = 26)
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. |
No return value, called for side effects
Sandy Floren
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.