Learn R Programming

jagshelper (version 0.4.0)

trace_df: Trace plot of each column of a data.frame.

Description

Trace plot of each column of a posterior 'data.frame'.

Usage

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

Value

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 to trace_line()

Author

Matt Tyers

See Also

tracedens_jags, trace_jags, trace_line

Examples

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

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

Run the code above in your browser using DataLab