Check that the table of observations is conformable to a matrix of integers.
check_document_term_table(document_term_table)
document_term_table | Table of observation count data (rows:
documents, columns: terms. May be a class |
---|
an error message is thrown if the input is improper, otherwise
NULL
.
data(rodents) check_document_term_table(rodents$document_term_table)