Skip to contents

Extract gamma or beta matrices for all topics

Usage

tidy_all(x, matrix = "beta", ...)

Arguments

x

tmfast object

matrix

Desired matrix, 'beta' or 'gamma'

...

Other arguments, passed to tidy.tmfast()

Value

A long dataframe, with one row per word-topic or topic-doc combination. Column names depend on the value of matrix.