multinom_theta: Get theta matrix for one draw from posterior

Description Usage Arguments Value

Description

The theta matrix is the predicted topic proportions.

Usage

1
multinom_theta(subsetted_dataset_item, ts_model, sim = 1)

Arguments

subsetted_dataset_item

list with (at least) element $full: unaltered dataset.

ts_model

TS fit to either the full dataset or a subset

sim

integer, which draw from the posterior to extract the thetas for

Value

matrix of predicted topic proportions (columns) for each timestep in the full dataset (rows)


diazrenata/cvlt documentation built on Dec. 19, 2021, 11:08 p.m.