chaindens_df: By-chain kernel density of each column of a 'data.frame'.

View source: R/density.R

chaindens_dfR Documentation

By-chain kernel density of each column of a data.frame.

Description

By-chain kernel density plot of each column of a posterior data.frame.

Usage

chaindens_df(df, nline, parmfrow = NULL, ...)

Arguments

df

Posterior data.frame

nline

Number of chains

parmfrow

Optional call to par(mfrow) for the number of rows & columns of plot window. Returns the graphics device to previous state afterward.

...

additional plotting arguments or arguments

Value

NULL

Author(s)

Matt Tyers

See Also

tracedens_jags, trace_jags, trace_line

Examples

a <- jags_df(asdf_jags_out, p="a")

chaindens_df(a, nline=3, parmfrow=c(3,1))

jagshelper documentation built on Oct. 22, 2024, 1:06 a.m.