Learn R Programming

JSTORr (version 1.0.20161214)

JSTOR_MALLET_topicsovertime: Plot the changes in topic proportions over time

Description

Generates plots and data frames showing changes in topic proportions over time. For use with JSTOR's Data for Research datasets (http://dfr.jstor.org/).

Usage

JSTOR_MALLET_topicsovertime(x, topics = 1:56)

Arguments

x
the object returned by the function JSTOR_unpack1grams.
topics
a range of topic numbers to plot, Default is 1 to 56 (ie. the first 56 topics in the model). A mimimum of two topics must be specified.

Value

Returns a plot of topics over time and a list of dataframes of the topic proportions per document for further analysis.

Examples

Run this code
## tot <- JSTOR_MALLET_topicsovertime(x = unpack1grams, topics = 10:20)

Run the code above in your browser using DataLab