cens_lines_plot {ssd4mosaic} | R Documentation |
Graphical representation of censored data
Description
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.
Usage
cens_lines_plot(
data,
unit,
logscale,
fits = NULL,
leftNA = 0,
rightNA = Inf,
color_group = FALSE
)
Arguments
data |
A data.frame containing censored toxicity values. It must have
columns |
unit |
A character vector, the unit of the toxicity data |
logscale |
if |
fits |
A list of fits of class |
leftNA |
The value to replace censored left values. Default to 0 because toxicity values are concentrations. |
rightNA |
The value to replace censored right values. |
color_group |
if |
Value
A ggplot object.