keyATM_fit: Fit keyATM model

Description Usage Arguments Value

Description

Select and specify one of the keyATM models and fit the model.

Usage

1
2
keyATM_fit(docs, model, no_keyword_topics, keywords = list(),
  model_settings = list(), priors = list(), options = list())

Arguments

docs

texts read via keyATM_read()

model

keyATM model: "base", "covariates", and "dynamic"

no_keyword_topics

the number of regular topics

keywords

a list of keywords

model_settings

a list of model specific settings

priors

a list of priors of parameters

options

a list of options

Value

keyATM_model object, which is a list containing

W

a list of vectors of word indexes

Z

a list of vectors of topic indicators isomorphic to W

S

a list

model

the name of the model

keywords
keywords_raw
no_keyword_topics

the number of regular topics

model_settings

a list of settings

priors

a list of priors

options

a list of options

stored_values

a list of stored_values

call

details of the function call


Shusei-E/keyATM-OLD documentation built on Dec. 23, 2019, 6:42 p.m.