do.multi.GOF {nonmem2R} | R Documentation |
Multiple Y vs single X GOF-plot
Description
X-Y GOF plots for multiple Y's and shared X with reflines and data smoother and with caption added as reurned by get.caption
Usage
do.multi.GOF(
data,
x,
y,
color = "",
add.loess = TRUE,
refline = c("none", "abline", "href0", "hrefmean", "hrefmedian"),
title = "",
lines.by.id = FALSE,
id.column = "ID",
fx = NULL,
fy = NULL,
ylab = "Observations/Predictions",
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.loess |
add loess smoother to plot (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 |
ylab |
y axis label |
control |
an optional list of control settings. See GOF.control for the names of the settable control values and their effect. |