get_plurarity_topics: get_plurarity_topics

Description Usage Arguments Value

View source: R/assessments.R

Description

get the 1-indexed topics by plurarity of the document to topic matrix

Usage

1
get_plurarity_topics(doc_2_top_mat)

Arguments

doc_2_top_mat

n by k matrix of floating point numbers The rows should sum to 1

Value

n-length vector of plurarity mappings The values will be integers ranging from 1-K


cvraut/viLDA documentation built on Dec. 19, 2021, 7:05 p.m.