Learn R Programming

postpack (version 0.5.4)

trace_plot: Create a trace plot for a single desired node

Description

Create a trace plot for a single desired node

Usage

trace_plot(post, param, keep_percent = 1)

Arguments

post

A mcmc.list object.

param

A regular expression that matches a single element in the model. E.g., "b0[1]", not "b0". See match_params().

keep_percent

A numeric vector of length == 1 and on the range (0,1]. Percent of samples you'd like to keep for trace plotting and passed to post_thin().