Learn About Samples

What is contained in your posterior object?

get_params()

Obtain the names of all nodes

post_dim()

Obtain MCMC dimensions from an mcmc.list

match_params()

Find matching node names

Summarize and Diagnose Posteriors

Necessary for making inference

post_summ()

Obtain posterior summaries and diagnostics of specific nodes

diag_plots()

Create MCMC diagnostic plots for nodes of interest

Manipulate Samples

Make changes to your posterior object

post_bind()

Combine two objects containing posterior samples

post_convert()

Convert MCMC samples to mcmc.list format

post_thin()

Perform post-MCMC thinning

post_subset()

Extract samples from specific nodes

post_remove()

Remove nodes from mcmc.list

vcov_decomp()

Decompose the posterior of a variance-covariance node

Example 'mcmc.list' Objects

A set of example objects for examples, vignettes, and practice

cjs

Example mcmc.list 1

cjs_no_rho

Example mcmc.list 2

Miscellaneous

Not sure where to put these

array_format()

Convert a vector to the array structure used in model

write_model()

Export BUGS/JAGS model from function to file

Non-Exported Functions

“Under-the-hood” functions that users will rarely (if ever) use or see

density_plot()

Create a density plot for a single desired node

trace_plot()

Create a trace plot for a single desired node

drop_index()

Extract the base node name of a parameter

id_mat()

Extract chain and iteration IDs for each sample

ins_regex_bracket()

Insert escapes on regex brackets

ins_regex_lock()

Insert the symbols to lock in a string for matching

list_out()

List vector elements in a nice format

mytitle()

Add a title between two figures

rm_regex_bracket()

Remove escapes on regex brackets

rm_regex_lock()

Remove the symbols that lock in a string for matching