plot-mtdi_generator-ANY-method: Visualize n samples from an 'mtdi_generator' object

Description Usage Arguments Examples

Description

Visualize n samples from an mtdi_generator object

Usage

1
2
## S4 method for signature 'mtdi_generator,ANY'
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

1
2
3
4
5
6
7
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))
} 

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