trim_betas.Rd
Filter to words of interest
trim_betas(betas, filter_by, threshold = 0, n_features = NULL)
A data.frame
whose rows correspond to topics and whose
columns are m
, the model ID, and the words for which estimates are
made.
a character specifying if the data (betas
) should
be filtered by the average "beta"
across topics or
by the "distinctiveness"
of the features.
Words (features) with less than this average beta or distinctiveness across all topics are ignored
Maximum number of features to show