name_plot_censored {ssd4mosaic} | R Documentation |
Add names to a provided empirical cumulative distribution function ggplot (i.e.,species names).
name_plot_censored(data, p, leftNA = 0, rightNA = Inf)
data |
A data.frame with column |
p |
A ggplot object showing the empirical cumulative distribution function of the censored data provided. |
leftNA |
The value to replace censored left values. Default to 0 because toxicity values are concentrations. |
rightNA |
The value to replace censored right values. |
The positions of the names on the plot are based on the raw data visualization and not the non parametric maximum likelihood estimation (NPMLE) representation, but they can be added to both types of plot.
Compatible with plots colored by group labels.
A ggplot object.