plot-mtdi_distribution-ANY-method: Visualize an 'mtdi_distribution' object

Description Usage Arguments Examples

Description

Visualize an mtdi_distribution object

Usage

1
2
## S4 method for signature 'mtdi_distribution,ANY'
plot(x, y = NULL, ...)

Arguments

x

An mtdi_distribution object

y

Included for compatibility with generic signature

...

Additional arguments passed onward to plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
if (interactive()) {
mtdi_dist <- mtdi_lognormal(CV = 2
                           ,median = 5
                           ,units = "mg/kg")
# Setting pre-specified dose levels via options() causes
# toxicity probabilities to be annotated on the plot.
old <- options(dose_levels = c(0.5, 1, 2, 4, 6))
plot(mtdi_dist, col = "red")
options(old)
}

precautionary documentation built on Jan. 15, 2021, 3:36 p.m.