name_plot_censored {ssd4mosaic}R Documentation

Graphical representation of named toxicity censored data

Description

Add names to a provided empirical cumulative distribution function ggplot (i.e.,species names).

Usage

name_plot_censored(data, p, leftNA = 0, rightNA = Inf)

Arguments

data

A data.frame with column conc if uncensored data, with left and right if censored data. In any case, must contain a column name.

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.

Details

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.

Value

A ggplot object.


[Package ssd4mosaic version 1.0.1 Index]