Skip to contents

Quick Plot for Data Exploration

Usage

do_data_page_plot(
  nmd,
  filter_cmt,
  x_axis,
  y_axis,
  color_by,
  med_line,
  med_line_by,
  dolm,
  smoother,
  facet_name,
  logy,
  lby = logbreaks_y,
  lbx = logbreaks_x,
  logx,
  plot_title,
  debug = FALSE
)

Arguments

nmd

The NONMEM dataset for plotting (requires ID, TIME, DV at minimum)

filter_cmt

Filter by this CMT

x_axis

X-axis for plot

y_axis

Y-axis for plot

color_by

Color by this column

med_line

When TRUE, will draw median line by equidistant X-axis bins

med_line_by

Column name to draw median line by

dolm

Insert linear regression with formula on top of plot

smoother

Insert smoother

facet_name

variable to facet by

logy

Log Y-axis

lby

Log breaks for Y-axis

lbx

Log breaks for X-axis

logx

Log X-axis

plot_title

Optional plot title

debug

show debugging messages

Value

a ggplot object