Create an empirical cdf representation with the options to color data according to a group label and to display a name label for each observation.
options_plot(
fits,
unit,
logscale,
data,
use_names = FALSE,
use_groups = FALSE,
horizontals = TRUE,
lines_display = TRUE
)A ggplot object.
A list of fits of class fitdist or fitdistcens
computed from the same toxicity data.
A character vector, the unit of the toxicity data
if TRUE, uses a logarithmic scale for the \(x\)-axis
A data.frame with column conc if uncensored data, with
left and right if censored data, column name if the
names are to be displayed and column group if the groups are to be
displayed.
if TRUE, name labels are added to the plot.
if TRUE, data in the plot is colored by group.
A boolean. In case of uncensored data, whether to draw
horizontal lines for the step of the cumulative distribution function. Should
be set to FALSE when use_group = TRUE for a better visual.
A boolean. In case of censored data, whether to display
the raw data or the non parametric maximum likelihood estimation (NPMLE)
representation. Ignored when use_groups = TRUE. Raw data give a better
visual with name labels.