GOF plot with boxplots of Y grouped by categorical data in X, with refline and with caption added as reurned by get.caption
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()
)
data.frame to plot
character string with name of column for x
character string with name of column for y
data columns to set different colors in plot, interpreted as factor
add jittered points of data (TRUE), or not (FALSE)
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
connect subjects by lines (TRUE), or don't (FALSE)
column name that indicate subject identifier
function for transformation of x before plotting
function for transformation of y before plotting
an optional list of control settings. See GOF.control for the names of the settable control values and their effect.