mtdi_generator objectR/toxicity_generators.R
plot-mtdi_generator-ANY-method.RdVisualize n samples from an mtdi_generator object
# S4 method for mtdi_generator,ANY
plot(x, y = NULL, n = 20, col = "gray", ...)An mtdi_generator object
Included for compatibility with generic signature
Number of samples to draw from hyperprior for visualization
Color of lines used to depict samples
Additional arguments passed onward to plot
if (interactive()) {
mtdi_gen <- hyper_mtdi_lognormal(CV = 1
,median_mtd = 5
,median_sdlog = 0.5
,units="mg/kg")
plot(mtdi_gen, n=100, col=adjustcolor("red", alpha=0.5))
}