generate_topic_palette: Generate a Color from a Topic

Description Usage Arguments

Description

Generate a function that returns the topic palette with a color associated with each topic. Function assumes that it is called within legolda directory.

Usage

1
generate_topic_palette(lda_model, set_colors)

Arguments

set_colors

The set_colors data frame generated by 'load_data'

lda_models

A list of models of class LDA

model_num

The mode


nateaff/legolda documentation built on May 18, 2019, 10:15 a.m.