Learn R Programming

BDWreg (version 1.3.0)

plot.bdw: Plot a MCMC object of class 'bdw'

Description

This function generates several diagnostics plots from a MCMC object of class 'bdw'

Usage

# S3 method for bdw
plot(x, est = Mode, prob = 0.95, adj = 2, r.outliers = TRUE,
density = FALSE, exc.tun = FALSE, ...)

Arguments

x

The object containing the MCMC results of class 'bdw'.

est

The statistic that is used to estimate parameters from marginal densities. The default is 'mode'.

prob

A numerical value in (0 , 1). Corresponding probability for Highest Posterior Density (HPD) interval.

adj

A positive value. Measure of smoothness for densities. A higher value results in smoother density plots.

r.outliers

Logical flag. If TRUE, a preprocessing procedure removes the outliers before showing the results.

density

Logical flag. If TRUE, a density plot accompanies the HPD intervals.

exc.tun

Logical flag. If TRUE and penalized=TRUE, the penalty parameter is excluded from the plots.

...

Other parameters that can be passed to standard plot() function.

Author

Hamed Haselimashhadi <hamedhaseli@gmail.com>

See Also

bdw, summary.bdw, bdw.mc

Examples

Run this code
example(bdw)

Run the code above in your browser using DataLab