plot_trace_alpha: Trace plots from the output of 'mcmc_mra()' or...

View source: R/plot_trace_alpha.R

plot_trace_alphaR Documentation

Trace plots from the output of mcmc_mra() or mcmc_mra_integrated()

Description

Trace plots from the output of mcmc_mra() or mcmc_mra_integrated()

Usage

plot_trace_alpha(
  out,
  base_size = 12,
  alpha = 0.1,
  n_per_res = 10,
  file = NULL,
  width = 16,
  height = 9
)

Arguments

out

The output from mcmc_mra() or mcmc_mra_integrated()

base_size

The base size for the plot

alpha

The plot transparency

n_per_res

The number of alpha parameters to sample per resolution

file

If file = NULL, the ggplot object is returned. If file is not NULL, an image is saved to the file path specified by file

width

If a file path is specified, width determines the width of the saved image (in inches)

height

If a file path is specified, height determines the height of the saved image (in inches)

Value

Either a ggplot object of the trace plots for a subset of the spatial coefficients alpha (if file = NULL) or a saved image file with no return (file is not NULL)


jtipton25/BayesMRA documentation built on Feb. 28, 2024, 1:27 p.m.