check_document_term_table: Check that document term table is proper

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Check that the table of observations is conformable to a matrix of integers.

Usage

1
check_document_term_table(document_term_table)

Arguments

document_term_table

Table of observation count data (rows: documents, columns: terms. May be a class matrix or data.frame but must be conformable to a matrix of integers, as verified by check_document_term_table.

Value

an error message is thrown if the input is improper, otherwise NULL.

Examples

1
2

weecology/LDATS documentation built on March 28, 2020, 11:20 a.m.