cens_lines_plot create a plot representing each interval of toxicity
values with a horizontal line, or a point if the bounds of the interval are
equal. It is possible to color the lines by a grouping indicator.
cens_lines_plot(
data,
unit,
logscale,
fits = NULL,
leftNA = 0,
rightNA = Inf,
color_group = FALSE
)A ggplot object.
A data.frame containing censored toxicity values. It must have
columns left, right, and label if color_group =
TRUE. Censored values are indicated with NA.
A character vector, the unit of the toxicity data
if TRUE, uses a logarithmic scale for the \(x\)-axis
A list of fits of class fitdist or fitdistcens
computed from the same toxicity data.
The value to replace censored left values. Default to 0 because toxicity values are concentrations.
The value to replace censored right values.
if TRUE, color the elements of the plot by the
group label of the data (column label).