| plot_imi_check | R Documentation | 
As a diagnostic visualization, this function displays the IMI scores of the top-weighted words in a topic, together with simulated values, on a scale set by the distribution of simulated values. Extreme deviations of the actual IMI scores indicate departures from the multinomial assumption of the model.
plot_imi_check(m, k, groups = NULL, n_reps = 20, ...)
| m | 
 | 
| k | topic number (only one topic at a time) | 
| groups | optional grouping factor with one element for each document | 
| n_reps | number of simulations | 
| ... | passed on to  | 
ggplot2 plot object
imi_topic, imi_check
plot_imi_check
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.