Tidy Topic Modeling Toolbox for R

assert_mallet_state_file_name | Assert that 'file_path' is a valide mallet state file |

as.sparseMatrix | Convert a 'tidy_topic_matrix' to a sparse matrix |

doc_topic_matrix | Tidy topic matrices |

ggplot_imi_type | Create IMI plot |

imi | Calculate IMI |

is.tidy_topic_array | Assert that 'x' is a 'tidy_topic_matrix' or a... |

is.tidy_topic_state | Assert that 'x' is a tidy topic state, matrix or array |

mi | Calculate Mutual information between types and documents (or... |

mi_deviance | Calculate MI deviance |

rcategorical | rcategorical |

read_mallet_statefile | Read a Mallet state file into R |

sample_tokens_given_topics | Sample types for a given setup of topic indicators |

sample_vanilla_lda | Sample vanilla LDA |

sotu | State of the Union Adresses. |

sotu50 | Topic model of State of the Union Adresses. |

statse | 2000 question posts from stats.stackexchange.com |

tidytopics | Sampling along a topic model |

topic_entropy | Calculate the topic entropy |

topic_jsd | Calculate the Jensen-Shannon Distance between groups |

topic_probability | Calculates the probability over topics |

top_j_types | Return top j terms by weight |

top_terms | Weighted top terms |

uspresidents | US Presidents. |

write_mallet_statefile | Write a Mallet state from R |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.