RTopicModel: Access MALLET's glue model object

RTopicModelR Documentation

Access MALLET's glue model object

Description

This function returns a reference to the top-level Java object representing an LDA model.

Usage

RTopicModel(m)

Arguments

m

a mallet_model object

Details

For its R interface, MALLET uses a class RTopicModel. This has some convenience methods for accessing and manipulating a topic model from R using rJava. It is also used by the functions in the mallet package.

In earlier versions of MALLET, this object had a data member of class ParallelTopicModel instance. In the latest MALLET, RTopicModel inherits from ParallelTopicModel.

Value

a reference to the RTopicModel object (or NULL if unavailable)


agoldst/dfrtopics documentation built on July 15, 2022, 4:13 p.m.