BTRR_extract_B: Construct tensor coefficient from results

View source: R/903_post_hoc_fns.R

BTRR_extract_BR Documentation

Construct tensor coefficient from results

Description

As the BTRR_single_subject function saves posterior samples of the tensor decomposition components, the tensor coefficient is composed from results of class BTRR_result.

Usage

BTRR_extract_B(btrr_result)

Arguments

btrr_result

A list object with class BTRR_result

Value

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


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