B_densities: Plot posterior densities of the tensor coefficient

View source: R/904_plot_fns.R

B_densitiesR Documentation

Plot posterior densities of the tensor coefficient

Description

Plot posterior densities of the tensor coefficient

Usage

B_densities(B, truth = NULL)

Arguments

B

An array in which the last index corresponds to the ith draw from the posterior distribution.

truth

An optional array of true values for the tensor coefficient which will be used to separate the density plots for voxels with true zero values and true nonzero plots.

Value

A ggplot grob


danieladamspencer/bayestensorreg documentation built on July 23, 2024, 10:14 a.m.