BTRT_all_B: Compose all tensors with Tucker decomposition

View source: R/903_post_hoc_fns.R

BTRT_all_BR Documentation

Compose all tensors with Tucker decomposition

Description

Uses the tensor decomposition from Tucker (1927) to compose a tensor coefficient draw from a BTRT_result object.

Usage

BTRT_all_B(btrt_object)

Arguments

btrt_object

Output object from BTRTucker

Value

An array of samples from the posterior distribution of the tensor coefficient. The last dimension corresponds to the draw number

Examples

## Not run: 
input <- TR_simulated_data()
results <- BTRTucker(input)
all_B <- BTRT_all_B(results)

## End(Not run)

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