Learn R Programming

SPIn (version 1.1)

plot.SPIn:

Plot the Results from SPIn or bootSPIn

Description

Plot the histogram, the kernel density estimate, the shortest probability interval and the central interval.

Usage

"plot"(x, ...)

Arguments

x

SPIn object, result of SPIn or bootSPIn.

...
See plot.

References

Simulation efficient shortest probability intervals. (arXiv:1302.2142)

See Also

SPIn,bootSPIn

Examples

Run this code
x <- rgamma(100,3)
r <- bootSPIn(x)
plot(r)

Run the code above in your browser using DataLab