Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot-mtdi_generator-ANY-method

Visualize n samples from an mtdi_generator object


Description

Visualize n samples from an mtdi_generator object

Usage

## 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

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

Safety Diagnostics for Dose-Escalation Trial Designs

v0.2-1
MIT + file LICENSE
Authors
David C. Norris [aut, cre, cph] (<https://orcid.org/0000-0001-9593-6343>), Markus Triska [ctb]
Initial release
2021-01-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.