plot_topic_model_log_likelihood: Trace plot of topic model log likelihood

Description Usage Arguments Value Examples

View source: R/plot_topic_model_log_likelihood.R

Description

Generates a trace plot of the unnormalized topic model log likelihood. This is a potential way to diagnose the convergence of the model.

Usage

1
plot_topic_model_log_likelihood(CCAS_Object, topic_model_burnin = NULL)

Arguments

CCAS_Object

devtoolAn object of class CCAS containing estimation results.

topic_model_burnin

The number of iterations of Gibbs sampling to discard before generating trace plot and calculating Geweke statistic.

Value

A plot.

Examples

1
2
3
4
5
6
## Not run: 
# load in saved model output from ccas() function.
data(Model_Output)
plot_topic_model_log_likelihood(Model_Output)

## End(Not run)

matthewjdenny/CCAS documentation built on May 21, 2019, 1:01 p.m.