Learn R Programming

BayesRepDesign (version 0.42)

plot.designPrior: Plot method for class "designPrior"

Description

Plot method for class "designPrior"

Usage

# S3 method for designPrior
plot(x, ...)

Value

Plots the density of the design prior

Arguments

x

Object of class "designPrior"

...

Other arguments passed to plot

Author

Samuel Pawel

Examples

Run this code
dp <- designPrior(to = 2.3123, so = 0.1, mu = 1.1, tau = 0.2)
plot(dp)
plot(dp, xlim = c(0, 5), length.out = 500)

Run the code above in your browser using DataLab