Learn R Programming

jagshelper (version 0.4.0)

chaindens_line: Simple by-chain kernel density plot

Description

By-chain kernel density plot of a single parameter node.

Usage

chaindens_line(x, nline, lwd = 1, main = "", ...)

Value

NULL

Arguments

x

Posterior vector

nline

Number of chains

lwd

Line width

main

Plot title

...

additional plotting arguments

Author

Matt Tyers

See Also

tracedens_jags, chaindens_jags, chaindens_df

Examples

Run this code
b1 <- jags_df(asdf_jags_out, p="b1")

chaindens_line(b1, nline=3, main="b1")

Run the code above in your browser using DataLab