Description Usage Arguments Value Examples
Check that the table of document-level covariates is conformable to a data frame and of the right size (correct number of documents) for the document-topic output from the LDA models.
1 2 | check_document_covariate_table(document_covariate_table,
LDA_models = NULL, document_term_table = NULL)
|
document_covariate_table |
Document covariate table to evaluate. |
LDA_models |
Reference LDA model list (class |
document_term_table |
Optional input for checking when
|
An error message is thrown if document_covariate_table
is
not proper, else NULL
.
1 2 | data(rodents)
check_document_covariate_table(rodents$document_covariate_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.