Learn R Programming

JSTORr (version 1.0.20161214)

JSTOR_MALLET_topicinfo: Get information about a topic generated by MALLET

Description

Gets keywords, DOIs, alpha values and exemplary articles for a topic. Originally written by Andrew Goldstone. For use with JSTOR's Data for Research datasets (http://dfr.jstor.org/).

Usage

JSTOR_MALLET_topicinfo(x, n, threshold = 0.3)

Arguments

x
the object returned by the function JSTOR_unpack.
n
the topic number to get information about (starts at 1)
threshold
proportion of topic required for a document to be considered exemplary of that topic

Value

Returns a list that includes top words, alpha value, and top articles for the selected topic

Examples

Run this code
## info <- JSTOR_MALLET_topicinfo(x = unpack, n = 1)

Run the code above in your browser using DataLab