check_topics: Check that topics vector is proper

View source: R/utilities.R

check_topicsR Documentation

Check that topics vector is proper

Description

Check that the vector of numbers of topics is conformable to integers greater than 1.

Usage

check_topics(topics)

Arguments

topics

Vector of the number of topics to evaluate for each model. Must be conformable to integer values.

Value

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

Examples

 check_topics(2)


LDATS documentation built on Sept. 19, 2023, 5:08 p.m.