base_cdf {ssd4mosaic}R Documentation

Graphical representation of fitted distribution(s)

Description

base_cdf plots an empirical cdf of the toxicity values against one or several fitted distributions' cdf. It works for both censored and non censored data.

Usage

base_cdf(fits, unit, logscale, names = NULL, horizontals = TRUE, xlim = NULL)

Arguments

fits

A list of fits of class fitdist or fitdistcens computed from the same toxicity data.

unit

A character vector, the unit of the toxicity data

logscale

if TRUE, uses a logarithmic scale for the x-axis

names

Label vector for data points (only for non censored data)

horizontals

If TRUE, draws horizontal lines for the step empirical cumulative distribution function (ecdf). See also plot.stepfun.

xlim

The x-limits of the plot.

Value

A ggplot object.


[Package ssd4mosaic version 1.0.1 Index]