array_traceplot: Traceplot for Stan-form arrays

View source: R/array_traceplot.R

array_traceplotR Documentation

Traceplot for Stan-form arrays

Description

Plots traceplot for Stan-form arrays

Usage

array_traceplot(x, par)

Arguments

x

an array created by calling extract_n_combine

par

name of the parameter(s) to plot entered as a sting. This has to be either

  • the name of a single parameter, e.g., "theta[1,2]"

  • the name of an matrix/array/vector, e.g., "theta"

  • or a vector of single parameters, e.g., c("theta[1,1]", "theta[1,2]")

Value

the function returns a ggplot object of the traceplot


baruuum/relabelKL documentation built on Feb. 1, 2024, 12:23 a.m.