Plot summary spaghetti plots of IQdataNCA objects (non-dose-normalized)

Stratified by GROUP and PROFILE in the data. Ordered by GROUP(N) and then PROFILE. Default colored by USUBJID. Only ignored records (IQGNORER) are excluded from these plots. Stratification in terms of coloring by selected column can be done.

figure_spaghetti_IQdataNCA(
  data,
  figurenumber = NULL,
  logY = TRUE,
  strat = "USUBJID",
  scaleXsame = TRUE,
  scaleYsame = TRUE,
  filename = "spaghetti.pdf",
  nindiv = 1,
  FLAGTIME = "nominal",
  USETAD = TRUE,
  alpha = 0.8
)

Arguments

data

IQdataNCA object

figurenumber

Character string with figure number information, added to the title for each figure, if defined

logY

Log y axis is TRUE, otherwise linear Y axis

strat

Character. Name of column to use for stratification (default: NULL => no stratification). The only requirement is that the entries in the stratification column are unique per subject per profile. The columns can contain numeric of aphanumeric entries. They can be categorical or continuous. However, it is advisable for the purpose of useful plots to use continuous numeric columns only for stratification when there is a certain limited number of unique values. But it is your call entirely :-)

scaleXsame

logical. It TRUE then the same min anx max value on the X-axis will be used for each plot

scaleYsame

logical. It TRUE then the same min anx max value on the Y-axis will be used for each plot

filename

Name of PDF file to generate with plots

nindiv

Number of plots per page if exported to PDF

FLAGTIME

Character string to defined the time information used ("asis", "nominal", "actual"). "asis" will use the selected time information in the dataset (TIME or TAFD). "nominal" will use NTIME or NTAFD. "actual" will use ATIME or ATAFD.

USETAD

logical. TRUE uses TIME, NTIME, or ATIME, depending on FLAGTIME settings. FALSE will use TAFD, NTAFD, or ATAFD.

alpha

alpha value for the plotting.

Value

Returns a list of all plots if filename is NULL

See also