View source: R/plot_hlda_betas.R
plot_hLDA_betas | R Documentation |
Visualizes Topic Composition of a Fitted hLDA Model
plot_hLDA_betas(
hLDA_model,
reorder_feature = TRUE,
min_p = 0.01,
color_by = "path",
print_legend = FALSE
)
hLDA_model |
(required, |
reorder_feature |
(optional, |
min_p |
(optional, |
color_by |
(optional, |
print_legend |
(optional, |
A ggplot2
object describing the sample composition.
plot_hLDA
x <- matrix(sample(0:100, 1000, replace = TRUE), 20, 50)
m <- hLDA(x, depth = 3)
plot_hLDA_betas(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.