check_document_term_table {LDATS} | R Documentation |
Check that document term table is proper
Description
Check that the table of observations is conformable to a matrix of integers.
Usage
check_document_term_table(document_term_table)
Arguments
document_term_table |
Table of observation count data (rows:
documents, columns: terms. May be a class |
Value
an error message is thrown if the input is improper, otherwise
NULL
.
Examples
data(rodents)
check_document_term_table(rodents$document_term_table)
[Package LDATS version 0.3.0 Index]