do.cat.GOF {nonmem2R}R Documentation

Y vs categorical X GOF-plot

Description

GOF plot with boxplots of Y grouped by categorical data in X, with refline and with caption added as reurned by get.caption

Usage

do.cat.GOF(
  data,
  x,
  y,
  color = "",
  add.points = TRUE,
  refline = c("abline", "href0", "hrefmean", "hrefmedian", "none"),
  title = "",
  lines.by.id = FALSE,
  id.column = "ID",
  fx = NULL,
  fy = NULL,
  control = GOF.control()
)

Arguments

data

data.frame to plot

x

character string with name of column for x

y

character string with name of column for y

color

data columns to set different colors in plot, interpreted as factor

add.points

add jittered points of data (TRUE), or not (FALSE)

refline

add reference line with intercept=0, slope=1 (abline), horizontal at y=0( href0), horizontal at y=mean of y( hrefmean), horizontal at y=median of y( hrefmedian), or don't add reference line (none)

title

title

lines.by.id

connect subjects by lines (TRUE), or don't (FALSE)

id.column

column name that indicate subject identifier

fx

function for transformation of x before plotting

fy

function for transformation of y before plotting

control

an optional list of control settings. See GOF.control for the names of the settable control values and their effect.


[Package nonmem2R version 0.2.5 Index]