Generate one page with summary figure

Generate one page with summary figure

plot_summary_IQdataNCAsum(
  d,
  lines_by,
  panel_by,
  figure_head,
  labels,
  yscale,
  dosenorm,
  legend_pos,
  xlabtext,
  xlim,
  ylabtext,
  ylimlin,
  ylimlog
)

Arguments

d

Data frame with summary of PK concentration to be plot on one page

lines_by

grouping used for linetypes

panel_by

variable to create panels by

figure_head

Column names of covariates unique within pages to be displayed above the table

labels

names character vector with labels for columns

yscale

character identifying whether to plot linear ("lin") or semilogarithmic ("log") or both views ("linlog")

dosenorm

logical whether to plot dose normalized concentrations

legend_pos

specifying legend position ("none", "left", "right", "bottom", "top", or two-element numeric vector)

xlabtext

label of x axis (time)

xlim

limits of x axis (time) to be applied to all panels/pages

ylabtext

Label for y axis

ylimlin

Limits to be applied to linear y axis. If NULL, no scale enforced.

ylimlog

Limits to be applied to logarithmic y axis. If NULL, no scale enforced.

Value

Returns a figure (ggplot or arranged ggplot object)