For uncensored data, the boxplot for each group produced is a standard boxplot,
similar to that produced by
graphics::boxplot.default
,
but with the median shown as a "+" and the mean shown as a "o". A
warning is added to the plot if any of the groups or all of the groups
have 5 or fewer observations (in which case a plot from
pointGraph.cgOneFactorData
might be more suitable). For censored data, Kaplan-Meier estimates are used for the quantiles, as
proposed by Gentleman and Crowley (1991). The survival::survfit
conventions are followed for interpolation of these quantiles.
Extreme values that are censored
are drawn as open arrow heads rather than open circles.
Left-censored values are shown as a shallow "V",
which is actually just a rotated downward ">" sign. Similarly, right-censored
values are shown as a deeper "^", which is a actually just a rotated upward ">" sign.
Individual points are jitter
ed, and open circles
are used for complete observations
to alleviate potential overlap and the danger of representing
multiple points as a single point. Individual censored values are
similarly jittered.
With enough censored data
observations in a group, certain quantiles may not be estimable, and
thus a complete box would not appear.
If logscale=TRUE
, the tick marks for the y-axis
on the left side of the plot show original values, while the
ticks mark for the y-axis on the right side of the graph
show base 10 log values.
Tick marks are attempted to be chosen wisely. For log-scaled axes in
particular, leading digits of 2, 5, and 10 for values are included if
possible. Since the algorithm is empirical, the ticklabels
argument is available for further refinement or complete replacement
of tickmarks.
The heading for the graph is taken from the cgOneFactorData
object,
which prepareCGOneFactorData
sets from its analysisname
argument.
The label for the y-axis is taken from the cgOneFactorData
object,
which prepareCGOneFactorData
sets from its endptname
argument.
The number of decimal places printed in the ticks on the y-axis is taken
from the cgOneFactorData
object,
which prepareCGOneFactorData
sets from its digits
argument.
The minimum and maximum values from the range of the data are
respectively labeled in the bottom and top left corners of the graph
region.
If group labels along the x-axis seem to overlap in the standard
horizontal form, they will be rotated 45 degrees.