precautionary (version 0.1-2)

plot,mtdi_generator-method: Visualize n samples from an mtdi_generator object

Description

Visualize n samples from an mtdi_generator object

Usage

# S4 method for mtdi_generator
plot(x, y = NULL, n = 20, col = "gray", ...)

Arguments

x

An mtdi_generator object

y

Included for compatibility with generic signature

n

Number of samples to draw from hyperprior for visualization

col

Color of lines used to depict samples

Additional arguments passed onward to plot

Examples

Run this code
# NOT RUN {
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))
} 
# }

Run the code above in your browser using DataLab